@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600&display=swap");

.kp{--b:#522337;--bd:#3d1a29;--bg:#f5f6f7;--line:#e6e7e9;--muted:#6b6f75;color:#1f1f1f;font:16px/1.6 "Golos Text",Tahoma,sans-serif;padding-bottom:72px}
.kp *{box-sizing:border-box}
/* сбрасываем стили ссылок сайта внутри карточки */
.kp a,.kp a:hover,.kp a:focus{border:0!important;box-shadow:none!important;text-decoration:none!important;background-image:none!important}
.kp a::before,.kp a::after{content:none!important;display:none!important}

.kp .kp-card{background:#fff;border:1px solid var(--line);border-radius:16px}

/* верх */
.kp .top{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:32px;align-items:start}
.kp .gallery{display:grid;grid-template-columns:88px minmax(0,1fr);gap:16px;padding:20px}
.kp .gallery.single{grid-template-columns:minmax(0,1fr)}
.kp .thumbs{display:flex;flex-direction:column;gap:10px}
.kp .thumbs button{width:88px;height:88px;padding:6px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}
.kp .thumbs button.on{border:2px solid var(--b)}
.kp .thumbs img{width:100%;height:100%;object-fit:contain}
.kp .photo{position:relative;aspect-ratio:1/1;max-height:560px;display:flex;align-items:center;justify-content:center}
.kp .photo a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.kp .photo img{max-width:100%;max-height:100%;object-fit:contain}
.kp .stamp{position:absolute;top:0;left:0;z-index:2;background:#f1f8f3;color:#1d6b3a;border-radius:8px;padding:6px 12px;font-size:13px;font-weight:500}
.kp .nophoto{color:#9a9a9a}

/* правая колонка */
.kp .side{position:sticky;top:20px;display:flex;flex-direction:column;gap:16px}
.kp .info{padding:24px}
.kp .brand{display:flex;gap:10px;align-items:center;font-size:14px;color:var(--muted);margin-bottom:16px}
.kp .brand span{background:var(--bg);color:#1f1f1f;font-weight:600;padding:3px 10px;border-radius:6px;font-size:12px;letter-spacing:.04em}
.kp .short{margin:0 0 4px}
.kp .short div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px dashed var(--line);font-size:15px}
.kp .short div:last-child{border-bottom:0}
.kp .short dt{color:var(--muted)}
.kp .short dd{margin:0;font-weight:500;text-align:right}
.kp .more{display:inline-block;font-size:14px;color:var(--b)!important;margin-top:8px}

.kp .buy{padding:24px}
.kp .price{font-size:34px;font-weight:600;line-height:1.1;letter-spacing:-.01em}
.kp .price span{font-size:15px;font-weight:400;color:var(--muted);margin-left:6px;letter-spacing:0}
.kp .novat{color:var(--muted);font-size:15px;margin:6px 0 20px}
.kp .kp-row{display:flex;gap:10px;flex-wrap:wrap}
.kp .qty{display:flex;align-items:center;background:var(--bg);border-radius:12px}
.kp .qty button{width:44px;height:54px;border:0;background:none;font-size:20px;color:#333;cursor:pointer}
.kp .qty input{width:36px;border:0;background:none;text-align:center;font:500 16px "Golos Text",sans-serif}
.kp .kp-btn{height:54px;padding:0 24px;border-radius:12px;font:500 16px "Golos Text",sans-serif;cursor:pointer;flex:1;min-width:150px;display:flex;align-items:center;justify-content:center}
.kp .kp-btn-main{background:var(--b);color:#fff!important;border:0}.kp .kp-btn-main:hover{background:var(--bd)}
.kp .kp-btn-sec{background:var(--bg);color:#1f1f1f!important;border:0}.kp .kp-btn-sec:hover{background:#ebecee}
.kp .perks{list-style:none;margin:20px 0 0;padding:18px 0 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:12px;font-size:14px;color:#444}
.kp .perks li{display:flex;gap:10px;align-items:center}
.kp .perks svg{flex-shrink:0}

/* вкладки */
.kp .kp-tabs{display:flex;gap:32px;border-bottom:1px solid var(--line);margin-top:56px;overflow-x:auto;padding:0 4px}
.kp .kp-tabs a{padding:16px 0;color:var(--muted)!important;font-size:16px;font-weight:500;white-space:nowrap}
.kp .kp-tabs a.on{color:#1f1f1f!important;box-shadow:inset 0 -2px 0 #1f1f1f!important}

/* разделы */
.kp .kp-sec{margin-top:16px!important;padding:32px!important}
.kp .h2,.kp .h3{font-size:22px;font-weight:600;line-height:1.3;margin:0 0 16px!important;padding:0!important}
.kp .h3{font-size:18px;margin-bottom:8px!important}
.kp .kp-cols{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:24px;align-items:stretch;margin-top:24px}
.kp .kp-cols .section{margin-top:0}
.kp .spec{width:100%;border-collapse:collapse}
.kp .spec tr{border-bottom:1px solid var(--line)}
.kp .spec tr:last-child{border-bottom:0}
.kp .spec th,.kp .spec td{text-align:left;padding:12px 0;font-weight:400;vertical-align:top}
.kp .spec th{width:45%;color:var(--muted);padding-right:16px}
.kp .docs a{display:flex;align-items:center;gap:14px;padding:12px;margin:0 -12px;border-radius:10px;color:#1f1f1f!important}
.kp .docs a:hover{background:var(--bg)}
.kp .ext{width:40px;height:48px;border-radius:6px 12px 6px 6px;background:var(--bg);color:var(--b);font-size:11px;font-weight:600;display:flex;align-items:flex-end;justify-content:center;padding-bottom:6px;flex-shrink:0}
.kp .docs .name{flex:1;font-weight:500}
.kp .docs .name small{display:block;color:var(--muted);font-size:13px;font-weight:400}
.kp .docs svg{color:var(--muted)}
.kp .desc{max-width:820px;color:#333}
.kp .desc p{margin:0 0 12px}
.kp .faq details{border-bottom:1px solid var(--line);padding:16px 0}
.kp .faq details:last-child{border-bottom:0}
.kp .faq summary{cursor:pointer;font-weight:500;font-size:16px;list-style:none;display:flex;justify-content:space-between;gap:16px}
.kp .faq summary::-webkit-details-marker{display:none}
.kp .faq summary::after{content:"+";color:var(--muted);font-size:22px;line-height:1}
.kp .faq details[open] summary::after{content:"−"}
.kp .faq p{margin:10px 0 0;color:#444;max-width:820px}

@media(max-width:960px){
 .kp .top,.kp .kp-cols{grid-template-columns:minmax(0,1fr)}
 .kp .side{position:static}
 .kp .gallery{grid-template-columns:minmax(0,1fr);padding:12px}
 .kp .thumbs{flex-direction:row;order:2;overflow-x:auto;padding-bottom:2px}
 .kp .thumbs button{width:64px;height:64px;flex-shrink:0}
 .kp .photo{max-height:420px}
 .kp .kp-tabs{gap:24px;margin-top:32px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 .kp .kp-tabs::-webkit-scrollbar{display:none}
}
@media(max-width:600px){
 .kp{font-size:15px;padding-bottom:48px}
 .kp .top{gap:16px}
 .kp .info,.kp .buy,.kp .kp-sec{padding:18px;border-radius:14px}
 .kp .price{font-size:28px}
 .kp .kp-row{flex-direction:column}
 .kp .qty{justify-content:space-between}
 .kp .kp-btn{flex:0 0 auto;width:100%;min-width:0;height:54px}
 .kp .h2{font-size:19px}
 .kp .spec th,.kp .spec td{display:block;width:100%;padding:0}
 .kp .spec th{padding-top:10px;font-size:13px}
 .kp .spec td{padding-bottom:10px}
 .kp .short div{font-size:14px}
 .kp .kp-tabs a{font-size:15px;padding:12px 0}
 .kp .kp-cols{gap:16px;margin-top:16px}
 .kp .kp-sec{margin-top:16px}
}

.kp .kp-cols.one{grid-template-columns:minmax(0,1fr)}

.kp .kp-tabs button{background:none;border:0;padding:16px 0;color:var(--muted);font:500 16px "Golos Text",sans-serif;white-space:nowrap;cursor:pointer}
.kp .kp-tabs button.on{color:#1f1f1f;box-shadow:inset 0 -2px 0 #1f1f1f}
.kp .kp-sec>.h2{margin-top:0!important}
.kp .more{background:none;border:0;padding:0;font:inherit;font-size:14px;color:var(--b);cursor:pointer;margin-top:8px}
@media(max-width:600px){.kp .kp-sec{padding:20px!important}.kp .kp-tabs button{font-size:15px;padding:12px 0}}

.kp .left{display:flex!important;flex-direction:column!important;gap:16px!important;min-width:0}
.kp .about{padding:32px!important}
.kp .about .h2{margin:0 0 16px!important}
.kp .about .desc{max-width:none}
@media(max-width:600px){.kp .about{padding:20px!important}}

.kp{padding-bottom:0!important}
.kp + section,.kp ~ .section{margin-top:40px!important}

/* меньше белого: информационные блоки без карточек, на фоне страницы */
.kp .info,.kp .about,.kp .kp-sec{background:transparent!important;border:0!important;border-radius:0!important}
.kp .info{padding:4px 4px 0!important}
.kp .about{padding:24px 4px 0!important;border-top:1px solid var(--line)!important}
.kp .kp-sec{padding:24px 4px 0!important;margin-top:0!important}
.kp .kp-sec>.h2{display:none}
.kp .spec tr,.kp .short div{border-color:#dcdee1!important}
.kp .buy{box-shadow:0 8px 24px rgba(20,20,30,.06)}
/* плашки на фото */
.kp .badges{position:absolute;top:0;left:0;z-index:2;display:flex;flex-wrap:wrap;gap:8px}
.kp .badges span{display:inline-flex;align-items:center;gap:6px;background:var(--bg);color:#1f1f1f;border-radius:8px;padding:6px 10px;font-size:13px;font-weight:500;line-height:1.2}
.kp .badges svg{color:var(--b);flex-shrink:0}
@media(max-width:600px){.kp .badges span{font-size:12px;padding:5px 8px}}

/* мобильные кнопки: фикс высоты (перебивает стили сайта) */
@media(max-width:600px){
 .kp .kp-row{display:flex!important;flex-direction:column!important;align-items:stretch!important}
 .kp .kp-row .kp-btn{flex:0 0 auto!important;width:100%!important;height:54px!important;min-height:54px!important;padding:0 24px!important;line-height:1.2!important;display:flex!important;align-items:center!important;justify-content:center!important}
}