/* ===== Власник 10.11: повна картка товару (rich.php) ===== */
.ce-p2-hero__media{display:flex;flex-direction:column;gap:12px;min-width:0}
.ce-p2-hero__media .ce-p2-hero__photo{flex:1 1 auto}
.ce-rich-thumbs{display:flex;gap:10px;overflow-x:auto;padding:2px;scrollbar-width:thin}
.ce-rich-thumbs__btn{flex:0 0 84px;height:84px;padding:6px;border:2px solid #ececec;border-radius:16px;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ce-rich-thumbs__btn.is-active{border-color:var(--ce-or)}
.ce-rich-thumbs__img{width:100%;height:100%;object-fit:contain;display:block}
.ce-rich-nav{position:sticky;top:112px;z-index:20;margin:0 0 clamp(36px,4vw,64px);background:#fff;border-radius:24px;box-shadow:0 6px 24px rgba(0,0,0,.06)}
.ce-rich-nav__in{display:flex;gap:6px;overflow-x:auto;padding:8px;scrollbar-width:none}
.ce-rich-nav__in::-webkit-scrollbar{display:none}
.ce-rich-nav a{flex:0 0 auto;padding:12px 18px;border-radius:16px;font-size:16px;font-weight:600;color:#000;text-decoration:none;white-space:nowrap}
.ce-rich-nav a.is-active{background:var(--ce-or);color:#fff}
.ce-p2 [id^="ce-"]{scroll-margin-top:190px}
.ce-rich-sec{padding-bottom:clamp(56px,6vw,110px)}
.ce-rich-zoom{display:block;cursor:zoom-in}
.ce-rich-hl__rows{display:flex;flex-direction:column;gap:24px}
.ce-rich-hl__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch}
.ce-rich-hl__row:nth-child(even) .ce-rich-hl__media{order:2}
.ce-rich-hl__media{border-radius:32px;background:#f8f8f8;display:flex;align-items:center;justify-content:center;padding:clamp(16px,2vw,32px);min-height:320px;overflow:hidden}
.ce-rich-hl__media .ce-rich-zoom{width:100%}
.ce-rich-hl__img{width:100%;height:auto;max-height:440px;object-fit:contain;display:block;border-radius:16px}
.ce-rich-hl__text{border-radius:32px;background:#f8f8f8;padding:clamp(28px,3vw,56px);display:flex;flex-direction:column;justify-content:center}
.ce-rich-hl__text h3,.ce-rich-hl__card h3,.ce-rich-app__item h3{margin:0 0 12px;font-size:clamp(20px,1.4vw,26px);font-weight:700;line-height:1.2}
.ce-rich-hl__text p,.ce-rich-hl__card p,.ce-rich-app__item p{margin:0;font-size:17px;line-height:1.6;color:#333}
.ce-rich-hl__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.ce-rich-hl__rows + .ce-rich-hl__grid{margin-top:24px}
.ce-rich-hl__card{border-radius:32px;background:#f8f8f8;padding:clamp(24px,2.4vw,40px)}
.ce-rich-specs__wrap{border-radius:32px;background:#f8f8f8;padding:clamp(8px,1vw,16px);overflow-x:auto}
.ce-rich-specs__table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.45;background:#fff;border-radius:24px;overflow:hidden}
.ce-rich-specs__table th,.ce-rich-specs__table td{padding:14px 20px;text-align:left;vertical-align:top;border-bottom:1px solid #ececec}
.ce-rich-specs__table tbody th{font-weight:500;color:#555;width:46%}
.ce-rich-specs__table td{font-weight:600;color:#000}
.ce-rich-specs__table.is-multi tbody th{width:auto;min-width:220px}
.ce-rich-specs__table.is-multi td,.ce-rich-specs__table thead th{white-space:nowrap}
.ce-rich-specs__table td.is-span{white-space:normal;text-align:center}
.ce-rich-specs__table thead th{background:#000;color:#fff;font-weight:700}
.ce-rich-specs__group th{padding-top:22px;font-size:18px;font-weight:700!important;color:#000!important;border-bottom:2px solid var(--ce-or)}
.ce-rich-specs__table tr:last-child th,.ce-rich-specs__table tr:last-child td{border-bottom:0}
.ce-rich-specs.is-collapsed .ce-rich-specs__more{display:none}
.ce-rich-specs__toggle{display:flex;align-items:center;justify-content:center;width:100%;max-width:420px;min-height:60px;margin:20px auto 0;border:2px solid #000;border-radius:32px;background:#fff;color:#000;font:inherit;font-size:17px;font-weight:700;cursor:pointer}
.ce-rich-note{margin:16px 0 0;font-size:14px;color:#787878;text-align:center}
.ce-rich-sch__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.ce-rich-sch__item{margin:0;border-radius:32px;background:#f8f8f8;padding:clamp(16px,1.6vw,24px);display:flex;flex-direction:column;gap:14px}
.ce-rich-sch__media{border-radius:20px;background:#fff;padding:16px;display:flex;align-items:center;justify-content:center;min-height:260px}
.ce-rich-sch__media .ce-rich-zoom{width:100%}
.ce-rich-sch__img{width:100%;height:auto;max-height:460px;object-fit:contain;display:block}
.ce-rich-sch__item figcaption{font-size:15px;line-height:1.5;color:#444;padding:0 6px 4px}
.ce-rich-vid__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.ce-rich-vid__grid.is-one{grid-template-columns:minmax(0,1fr);max-width:1000px}
.ce-rich-vid__item{margin:0;display:flex;flex-direction:column;gap:12px}
.ce-rich-vid__play,.ce-rich-vid__item iframe{position:relative;display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:32px;overflow:hidden;padding:0;background:#000;cursor:pointer}
.ce-rich-vid__play img{width:100%;height:100%;object-fit:cover;display:block}
.ce-rich-vid__btn{position:absolute;left:50%;top:50%;width:76px;height:76px;margin:-38px 0 0 -38px;border-radius:50%;background:var(--ce-or);display:flex;align-items:center;justify-content:center}
.ce-rich-vid__item figcaption{display:flex;flex-direction:column;gap:2px;font-size:16px;line-height:1.4;padding:0 6px}
.ce-rich-vid__item figcaption span{font-size:14px;color:#787878}
.ce-rich-app__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ce-rich-app__item{padding:24px 0 0;border-top:3px solid var(--ce-or)}
.ce-rich-faq__list{display:flex;flex-direction:column;gap:12px;max-width:1100px}
.ce-rich-faq__item{border-radius:24px;background:#f8f8f8}
.ce-rich-faq__item summary{list-style:none;cursor:pointer;padding:22px 64px 22px 28px;position:relative;font-size:18px;font-weight:700;line-height:1.35}
.ce-rich-faq__item summary::-webkit-details-marker{display:none}
.ce-rich-faq__item summary::after{content:"";position:absolute;right:28px;top:50%;width:12px;height:12px;margin-top:-9px;border-right:2px solid var(--ce-or);border-bottom:2px solid var(--ce-or);transform:rotate(45deg)}
.ce-rich-faq__item[open] summary::after{transform:rotate(-135deg);margin-top:-3px}
.ce-rich-faq__a{padding:0 28px 22px}
.ce-rich-faq__a p{margin:0;font-size:17px;line-height:1.6;color:#333}
.ce-rich-lb{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;padding:24px}
.ce-rich-lb[hidden]{display:none}
.ce-rich-lb img{max-width:100%;max-height:100%;object-fit:contain;background:#fff;border-radius:16px}
.ce-rich-lb button{position:absolute;top:16px;right:16px;width:52px;height:52px;border:0;border-radius:50%;background:#fff;color:#000;font-size:28px;line-height:1;cursor:pointer}
@media (max-width:1199px){
  .ce-rich-app__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ce-rich-nav{top:96px}
}
@media (max-width:767px){
  .ce-rich-thumbs__btn{flex-basis:64px;height:64px;border-radius:12px}
  .ce-rich-nav{top:118px;border-radius:16px;margin-bottom:32px}
  .ce-rich-nav a{padding:10px 14px;font-size:15px;border-radius:12px}
  .ce-p2 [id^="ce-"]{scroll-margin-top:190px}
  .ce-rich-sec{padding-bottom:48px}
  .ce-rich-hl__rows{gap:16px}
  .ce-rich-hl__row{grid-template-columns:1fr;gap:0;border-radius:24px;background:#f8f8f8;overflow:hidden}
  .ce-rich-hl__row:nth-child(even) .ce-rich-hl__media{order:0}
  .ce-rich-hl__media{min-height:0;border-radius:24px 24px 0 0;padding:16px 16px 0}
  .ce-rich-hl__text{border-radius:0;padding:20px 20px 24px}
  .ce-rich-hl__grid,.ce-rich-sch__grid,.ce-rich-vid__grid,.ce-rich-app__grid{grid-template-columns:1fr;gap:16px}
  .ce-rich-hl__card,.ce-rich-sch__item{border-radius:24px}
  .ce-rich-hl__text p,.ce-rich-hl__card p,.ce-rich-app__item p,.ce-rich-faq__a p{font-size:16px}
  .ce-rich-specs__wrap{border-radius:20px;padding:6px}
  .ce-rich-specs__table{font-size:14px;border-radius:16px}
  .ce-rich-specs__table th,.ce-rich-specs__table td{padding:11px 12px}
  .ce-rich-specs__table tbody th{width:50%}
  .ce-rich-specs__table.is-multi tbody th{min-width:150px}
  .ce-rich-vid__play,.ce-rich-vid__item iframe{border-radius:20px}
  .ce-rich-vid__btn{width:60px;height:60px;margin:-30px 0 0 -30px}
  .ce-rich-faq__item summary{font-size:16px;padding:18px 52px 18px 20px}
  .ce-rich-faq__item summary::after{right:22px}
  .ce-rich-faq__a{padding:0 20px 18px}
}
/* обгортка теми section.energy має overflow:hidden, через це меню розділів не липне на телефоні; clip обрізає так само, але не ламає sticky */
section.energy:has(.ce-rich-nav){overflow:clip}

/* Власник 10.11: «в нашому стилі 2/3 1/3», як .v1-svc-duo на сторінках послуг: великий сірий блок 2/3 + блок 1/3, ряди чергуються */
.ce-p2-about.has-files{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px}
.ce-rich-hl__row{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.ce-rich-hl__row:nth-child(even){grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.ce-rich-hl__media{min-height:420px}
.ce-rich-hl__img{max-height:520px}
.ce-rich-hl__text{padding:clamp(28px,2.6vw,48px)}
.ce-rich-hl__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ce-rich-sch__grid,.ce-rich-vid__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ce-rich-sch__item:nth-child(4n+1),.ce-rich-sch__item:nth-child(4n+4),.ce-rich-vid__item:nth-child(4n+1),.ce-rich-vid__item:nth-child(4n+4){grid-column:span 2}
.ce-rich-sch__item:last-child:nth-child(4n+1),.ce-rich-vid__item:last-child:nth-child(4n+1){grid-column:1/-1}
.ce-rich-sch__item:last-child:nth-child(4n+3){grid-column:span 2}
.ce-rich-vid__item:last-child:nth-child(4n+3){grid-column:span 2}
.ce-rich-vid__grid.is-one{grid-template-columns:minmax(0,1fr)}
@media (max-width:1023px){
  .ce-p2-about.has-files,.ce-rich-hl__row,.ce-rich-hl__row:nth-child(even){grid-template-columns:1fr}
  .ce-rich-hl__row:nth-child(even) .ce-rich-hl__media{order:0}
  .ce-rich-hl__media{min-height:0}
  .ce-rich-hl__grid,.ce-rich-sch__grid,.ce-rich-vid__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ce-rich-sch__item,.ce-rich-vid__item{grid-column:auto!important}
}
@media (max-width:767px){
  .ce-rich-hl__grid,.ce-rich-sch__grid,.ce-rich-vid__grid{grid-template-columns:1fr}
}

/* Власник 10.11: відео плейлистом: велике вікно 2/3 + список 1/3 */
.ce-rich-vid__layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;align-items:stretch}
.ce-rich-vid__layout.is-one{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.ce-rich-vid__main{margin:0;display:flex;flex-direction:column;gap:12px;min-width:0}
.ce-rich-vid__screen{position:relative;width:100%;aspect-ratio:16/9;border-radius:32px;overflow:hidden;background:#000}
.ce-rich-vid__screen .ce-rich-vid__play,.ce-rich-vid__screen iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;aspect-ratio:auto}
.ce-rich-vid__main figcaption{display:flex;flex-direction:column;gap:2px;font-size:16px;line-height:1.4;padding:0 6px}
.ce-rich-vid__main figcaption span{font-size:14px;color:#787878}
.ce-rich-vid__list{height:0;min-height:100%;display:flex;flex-direction:column;background:#f8f8f8;border-radius:32px;padding:20px 12px 12px;box-sizing:border-box;overflow:hidden}
.ce-rich-vid__list-title{font-size:18px;font-weight:700;padding:0 10px 12px}
.ce-rich-vid__list ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;overflow-y:auto;flex:1 1 auto;min-height:0;scrollbar-width:thin}
.ce-rich-vid__list li{margin:0}
.ce-rich-vid__pick{display:grid;grid-template-columns:120px 1fr;gap:12px;align-items:center;width:100%;padding:8px;border:2px solid transparent;border-radius:20px;background:#fff;text-align:left;font:inherit;color:#000;cursor:pointer}
.ce-rich-vid__pick.is-active{border-color:var(--ce-or)}
.ce-rich-vid__thumb{display:block;border-radius:12px;overflow:hidden;aspect-ratio:16/9;background:#000}
.ce-rich-vid__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ce-rich-vid__name{font-size:14px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:1023px){
  .ce-rich-vid__layout,.ce-rich-vid__layout.is-one{grid-template-columns:1fr}
  .ce-rich-vid__list{height:auto;min-height:0}
  .ce-rich-vid__list ul{max-height:420px}
}
@media (max-width:767px){
  .ce-rich-vid__screen{border-radius:20px}
  .ce-rich-vid__list{border-radius:24px}
  .ce-rich-vid__pick{grid-template-columns:104px 1fr}
}

/* Власник 10.11: «Де застосовують» як «Чому вигідно» на еталоні (сіра панель з іконками 2/3 + фото 1/3) */
.ce-rich-app__row{display:grid;grid-template-columns:1fr;gap:24px}
@media (min-width:1024px){.ce-rich-app__row{grid-template-columns:2fr 1fr}.ce-rich-app__row.is-full{grid-template-columns:1fr}}
.ce-rich-app__panel{list-style:none;margin:0;background:#f8f8f8;border-radius:32px;padding:clamp(24px,3.4vw,52px) clamp(20px,4vw,60px);display:grid;grid-template-columns:1fr;gap:28px 48px;box-sizing:border-box}
@media (min-width:640px){.ce-rich-app__panel{grid-template-columns:1fr 1fr}}
@media (min-width:1100px){.ce-rich-app__row.is-full .ce-rich-app__panel{grid-template-columns:repeat(3,1fr)}}
.ce-rich-app__item{display:grid;gap:8px;align-content:start;margin:0}
.ce-rich-app__ic{width:56px;height:56px;margin-bottom:6px}
.ce-rich-app__item b{color:#161616;font-size:clamp(18px,1.5vw,22px);font-weight:600;line-height:1.25}
.ce-rich-app__item span{color:#161616;font-size:16px;line-height:1.45}
.ce-rich-app__img{border-radius:32px;overflow:hidden;min-height:260px;background:#f8f8f8;display:flex;align-items:center;justify-content:center}
.ce-rich-app__img img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:1023px){.ce-rich-app__img{aspect-ratio:16/10;min-height:0}}
@media (max-width:639px){.ce-rich-app__panel,.ce-rich-app__img{border-radius:24px}.ce-rich-app__row{gap:16px}}

/* Власник 10.11: меню розділів вирівняне з головним меню сайту (та сама ширина, радіус, тінь, висота) */
.ce-rich-nav{width:min(570px,calc(100vw - 30px));margin-left:50%;transform:translateX(-50%);top:118px;border-radius:32px;background:#fff;box-shadow:0 14px 20px rgba(0,0,0,.2),0 0 0 .5px rgba(0,0,0,.1)}
.ce-rich-nav__in{padding:7px}
@media (min-width:1024px){
  .ce-rich-nav{width:min(1240px,calc(100vw - 47px));top:90px}
  .ce-rich-nav__in{min-height:60px;box-sizing:border-box;align-items:center;padding:7px 7px 7px 10px}
  .ce-rich-nav a{font-size:17px;padding:11px 18px;border-radius:24px}
}
@media (min-width:1270px){.ce-rich-nav{width:1240px}}
.ce-rich-app__panel .ce-rich-app__item{border-top:0;padding:0}

/* Власник 10.11: при перемиканні фото картка не повинна стрибати: рамка фото фіксованої висоти, фото вписується всередину */
.ce-p2-hero__media .ce-p2-hero__photo{flex:0 0 auto;height:clamp(420px,38vw,600px);min-height:0}
.ce-p2-hero__media .ce-p2-hero__img{width:88%;height:88%;max-height:none;object-fit:contain}
@media (max-width:1199px){.ce-p2-hero__media .ce-p2-hero__photo{height:440px}}
@media (max-width:767px){.ce-p2-hero__media .ce-p2-hero__photo{height:320px}}

/* Власник 10.11: «Моделі серії» посиланнями на сторінки моделей */
.ce-p2-models__links li{padding:0;border:0}
.ce-p2-models__links a,.ce-p2-models__links span{display:block;padding:8px 14px;border:1px solid #e1e1e1;border-radius:32px;font-size:14px;font-weight:600;color:#000;text-decoration:none;line-height:1.3}
.ce-p2-models__links .is-current{border-color:var(--ce-or);color:var(--ce-or)}

/* Власник 10.11: переваги й «Де застосовують» картками 1/3 і 2/3 (ряди чергуються), іконка + опис, без картинок */
.ce-rich-duo{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ce-rich-duo__card{background:#f8f8f8;border-radius:32px;padding:clamp(24px,2.6vw,44px);display:grid;gap:10px;align-content:start;box-sizing:border-box}
.ce-rich-duo__card:nth-child(4n+2),.ce-rich-duo__card:nth-child(4n+3){grid-column:span 2}
.ce-rich-duo__card:last-child:nth-child(4n+1){grid-column:1/-1}
.ce-rich-duo__card:last-child:nth-child(4n+3){grid-column:span 2}
.ce-rich-duo__ic{width:56px;height:56px;margin-bottom:6px}
.ce-rich-duo__card h3{margin:0;color:#161616;font-size:clamp(18px,1.5vw,22px);font-weight:600;line-height:1.25}
.ce-rich-duo__card p{margin:0;color:#161616;font-size:16px;line-height:1.5}
@media (max-width:1023px){.ce-rich-duo{grid-template-columns:1fr 1fr}.ce-rich-duo__card{grid-column:auto!important}}
@media (max-width:639px){.ce-rich-duo{grid-template-columns:1fr;gap:16px}.ce-rich-duo__card{border-radius:24px}}

/* Власник 10.11: таблиця характеристик на сірому фоні, як блоки сайту (без білої підкладки) */
.ce-rich-specs__wrap{padding:clamp(12px,1.6vw,28px) clamp(12px,2vw,36px)}
.ce-rich-specs__table{background:transparent;border-radius:0}
.ce-rich-specs__table th,.ce-rich-specs__table td{border-bottom-color:#e4e4e4}
@media (max-width:767px){.ce-rich-specs__wrap{padding:8px 12px}}

/* 12.11 власник: фото товару й мініатюри по центру колонки */
.ce-p2-hero__photo{display:flex;align-items:center;justify-content:center}
.ce-p2-hero__img{margin-left:auto;margin-right:auto;object-position:center}
.ce-rich-thumbs{justify-content:safe center}
.ce-rich-nav{display:none!important}

/* 12.11 власник «відступи всюди менше, сильно розтягнуто»: відступ між блоками сторінки товару ~удвічі менший */
.ce-p2-hero,.ce-p2-about,.ce-rich-sec{padding-bottom:clamp(28px,3vw,44px)!important}

/* 12.11 власник «чому тут не на всю?»: питання й відповіді на всю ширину сторінки, як інші блоки */
.ce-rich-faq__list{max-width:none!important;width:100%}
