/* course4it — страницы раздела и курса (стиль C2) */

body[data-theme-template="collection"] .page_layout > aside{display:none!important}
body[data-theme-template="collection"] .page_layout > main{grid-column:1 / -1!important;max-width:none!important}
body[data-theme-template="collection"] .page_section_top:empty{display:none}
.c4-chero{background:var(--t,#E8F0FD);padding:28px 0 32px}
.c4-crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;color:#64748B;margin-bottom:22px}
.c4-crumbs a{color:#475569!important}
.c4-crumbs a:hover{color:#0B5CD6!important}
.c4-chero__row{display:flex;align-items:center;gap:20px;margin-bottom:26px}
.c4-chero__tile{width:76px!important;height:76px!important;border-radius:20px!important}
.c4-chero__tile img{width:52px;height:52px}
.c4-chero h1{font-size:40px;font-weight:800;line-height:1.15}
.c4-chero p{font-size:17px;color:#475569;margin-top:6px}
.c4-dirs{display:flex;flex-wrap:wrap;gap:10px}
.c4-dir{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;background:#fff;border:1px solid #E5E9F0;color:#0F172A!important;font-weight:600;font-size:15px}
.c4-dir img{width:22px;height:22px;object-fit:contain}
.c4-dir:hover{border-color:var(--c,#0B5CD6)}
.c4-dir.is-active{background:var(--c,#0F172A);border-color:var(--c,#0F172A);color:#fff!important}
.c4-dir.is-active img{background:#fff;border-radius:6px;padding:2px}
.c4-clist{padding-top:40px!important;padding-bottom:72px!important}
.c4-card__icon--photo{overflow:hidden}
.c4-card__icon--photo img{width:104px!important;height:104px!important;object-fit:cover!important}
.c4-pager{display:flex;justify-content:center;align-items:center;gap:24px;margin-top:32px;font-size:15px;color:#475569}
.c4-pager a{font-weight:700}
.c4-empty{border:1px dashed #CBD5E1;border-radius:18px;padding:40px;text-align:center;display:flex;flex-direction:column;gap:8px}
.c4-empty b{font-size:20px}
.c4-empty span{color:#475569}
body[data-theme-template="product"] .page_layout > aside{display:none!important}
body[data-theme-template="product"] .page_layout > main{grid-column:1 / -1!important;max-width:none!important}
body[data-theme-template="product"] main .layout__content{max-width:1240px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
body[data-theme-template="product"] .breadcrumb-link,body[data-theme-template="product"] .breadcrumb-page{font-size:14px;color:#475569!important}
.c4p .product{gap:40px!important;align-items:start}
.c4p .product__area-photo{border:1px solid #E5E9F0;border-radius:20px;overflow:hidden;background:#fff}
.c4p .product-form{background:#F5F8FD;border-radius:20px;padding:28px!important;display:flex;flex-direction:column;gap:18px}
.c4p .product__area-user-controls,.c4p .product__actions-btn{display:none!important}
.c4p .product__title{font-family:Manrope,system-ui,sans-serif!important;font-size:30px!important;font-weight:800!important;line-height:1.2!important;color:#0F172A!important;letter-spacing:-.02em;margin:0!important}
.c4p .product__price{margin:0!important}
.c4p .product__price-cur{font-size:36px!important;font-weight:800!important;color:#0F172A!important}
.c4p .product__controls{display:flex;flex-direction:column;gap:10px}
.c4p .add-cart-counter__btn,.c4p .product__buy-btn-area .button:not(.button_second){background:#0B5CD6!important;border-color:#0B5CD6!important;color:#fff!important;border-radius:10px!important;font-weight:700!important;min-height:52px}
.c4p .add-cart-counter__btn:hover{background:#08449F!important}
.c4p .product__buy-btn-area .button_second{border-radius:10px!important;border-color:#CBD5E1!important;color:#334155!important;background:#fff!important;min-height:52px}
.c4p .product__buy-one-click .button{background:#fff!important;border:1px solid #CBD5E1!important;color:#0F172A!important;border-radius:10px!important;font-weight:600!important;min-height:52px}
.c4p .konsalt_link{display:flex!important;align-items:center;justify-content:center;min-height:52px;border-radius:10px!important;background:#FF8A00!important;color:#0F172A!important;font-weight:700!important;text-decoration:none!important;border:0!important}
.c4p .konsalt_link:hover{background:#F07F00!important}
.c4p-incl{display:flex;flex-direction:column;gap:8px;border-top:1px solid #E2E8F0;padding-top:16px;margin-top:2px}
.c4p-incl b{font-size:14px;color:#64748B;text-transform:uppercase;letter-spacing:.06em}
.c4p-incl ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.c4p-incl li{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #E5E9F0;border-radius:999px;padding:6px 12px;font-size:14px;color:#0F172A}
.c4p-incl li:before{content:"";width:16px;height:16px;flex-shrink:0;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5CD6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")}
.c4p .product-info{margin-top:48px}
.c4p .product-info.c4p-done > .product__description{display:none}
.c4p-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;font-family:Manrope,system-ui,sans-serif;color:#0F172A}
.c4p-sec{border:1px solid #E5E9F0;border-radius:20px;padding:28px;background:#fff}
.c4p-sec--wide{grid-column:1 / -1}
.c4p-sec h2{display:flex;align-items:center;gap:12px;font-size:22px!important;font-weight:800!important;margin:0 0 18px!important;color:#0F172A!important;letter-spacing:-.01em}
.c4p-sec h2 i{width:40px;height:40px;border-radius:12px;background:#0B5CD6;flex-shrink:0;display:inline-block;background-repeat:no-repeat;background-position:center;background-size:22px}
.c4p-sec p{font-size:16px;line-height:1.65;color:#334155;margin:0 0 12px}
.c4p-sec ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.c4p-sec li{position:relative;padding-left:30px;font-size:16px;line-height:1.5;color:#1E293B}
.c4p-sec li:before{content:"";position:absolute;left:0;top:3px;width:18px;height:18px;border-radius:50%;background:#E8F0FD center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5CD6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")}
.c4p-sec--learn{background:#F5F8FD;border-color:#F5F8FD}
.c4p-sec--learn ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px}
.c4p-sec--req li:before{background:#FDF0E1 center/10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='6' fill='%23B45309'/%3E%3C/svg%3E")}
.c4p-sec--who li:before{background:#E0F2F5 center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7490' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E")}
.c4p-sec--program ol{list-style:none;margin:0;padding:0;counter-reset:c4m;display:flex;flex-direction:column}
.c4p-sec--program li{counter-increment:c4m;padding:14px 0 14px 56px;border-top:1px solid #EEF1F5;min-height:28px}
.c4p-sec--program li:first-child{border-top:0}
.c4p-sec--program li:before{content:counter(c4m);background:#0B5CD6;color:#fff;width:36px;height:36px;border-radius:10px;top:10px;font-weight:800;font-size:15px;display:flex;align-items:center;justify-content:center}
.c4p-sec--modules{display:flex;flex-direction:column;gap:12px}
.c4p-sec--modules h2{margin-bottom:6px!important}
.c4p-sec details{border:1px solid #E5E9F0;border-radius:14px;background:#fff;overflow:hidden}
.c4p-sec details[open]{border-color:#C7D2FE;box-shadow:0 10px 24px -18px rgba(15,23,42,.35)}
.c4p-sec summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;padding:16px 20px;font-weight:700;font-size:17px}
.c4p-sec summary::-webkit-details-marker{display:none}
.c4p-sec summary:after{content:"";margin-left:auto;width:12px;height:12px;border-right:2px solid #64748B;border-bottom:2px solid #64748B;transform:rotate(45deg);transition:transform .15s;flex-shrink:0}
.c4p-sec details[open] summary:after{transform:rotate(-135deg)}
.c4p-mnum{flex-shrink:0;background:#F1EAFE;color:#6D28D9;font-size:13px;font-weight:800;padding:5px 10px;border-radius:999px;white-space:nowrap}
.c4p-mtitle{flex-grow:1}
.c4p-mcount{font-size:14px;color:#64748B;font-weight:500;white-space:nowrap}
.c4p-sec details ol{padding:0 20px 8px!important}
.c4p-sec--program li{display:flex;align-items:center;gap:12px}
.c4p-sec--program li span{flex-grow:1}
.c4p-dur{font-style:normal;font-size:13px;color:#475569;background:#F1F4F9;border-radius:999px;padding:4px 10px;white-space:nowrap;font-variant-numeric:tabular-nums}
.c4p-sec--program li:before{background:#6D28D9!important}
.c4p-sec--note{background:#FFF7ED;border-color:#FED7AA}
.c4p-author{display:flex;flex-wrap:wrap;align-items:center;gap:20px;background:#0F172A;color:#fff;border-radius:20px;padding:28px;margin-top:20px;font-family:Manrope,system-ui,sans-serif}
.c4p-author__av{width:64px;height:64px;border-radius:50%;background:#1E3A8A;color:#fff;font-weight:800;font-size:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.c4p-author__txt{flex:999 1 360px;min-width:0}
.c4p-author__txt b{display:block;font-size:20px;margin-bottom:4px}
.c4p-author__txt span{color:#CBD5E1;font-size:15px;line-height:1.6}
.c4p-author a{display:inline-flex;align-items:center;min-height:48px;padding:0 20px;border-radius:10px;border:1px solid #475569;color:#fff!important;font-weight:700;text-decoration:none}
.c4p .reviews_area{margin-top:32px;border:1px solid #E5E9F0;border-radius:20px;padding:28px}
.c4p .reviews__title{font-family:Manrope,system-ui,sans-serif!important;font-size:22px!important;font-weight:800!important;color:#0F172A!important}
.c4p .show-form-btn{border-radius:10px!important}
@media (max-width:860px){.c4p-sections{grid-template-columns:1fr}.c4p-sec--learn ul{grid-template-columns:1fr}.c4p .product__title{font-size:24px!important}.c4-chero h1{font-size:28px}}
