

/* Start:/local/templates/leveno/css/style.css?1783691685127657*/
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.reviewMore{
    margin-top: 16px;
    margin-bottom: 16px;
    color:rgb(0, 0, 238);
    text-decoration:underline;
    font-size:16px;
    cursor: pointer;
    align-self:flex-start;
}

/* Figma Variables - Точные значения из макета */
:root {
    /* Gradient from Figma */
    --gradient-radial: radial-gradient(circle at -41% -23%, rgba(0, 91, 255, 1) 0%, rgba(255, 63, 192, 1) 100%);
    /* Colors from Figma */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray: #939393;
    --color-bg-light: #EFEEF3;
    --color-border: #2B2B2B;
    --color-border-light: #EAE9EE;
}

/* Gilroy Font - используем системные шрифты как fallback */
@font-face {
    font-family: 'Gilroy';
    src: local('Gilroy-Bold'), local('Gilroy Bold'), url('/local/templates/leveno/css/../fonts/Gilroy-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: local('Gilroy-Regular'), local('Gilroy'), url('/local/templates/leveno/css/../fonts/Gilroy-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--color-white);
    color: var(--color-black);
    overflow-x: hidden;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    /* Убирает стандартный градиент, тень и оформление iOS */
    -webkit-appearance: none;
    /* Убирает стандартные скругления, которые iOS добавляет по умолчанию */
    border-radius: 0;
}

section {
    overflow-x: hidden;
}

/* Main Container: 1920x9172px from Figma */
.page-container > * {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background: var(--color-white);
    overflow-x: hidden;
}

.page-container section.trending-section {
    overflow: hidden;
}

@media(min-width:1920px) {
    .page-container section.trending-section {
        overflow: visible;
    }
}

/* Header с градиентом точно из макета Figma */
.header {
    padding: 29px 30px 0 30px;
    margin-bottom: 0;
    z-index: 1000;
    top: 0;
    transition: none;
}

@media (max-width: 768px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 9999;
        padding: 10px 10px 0;
        background: #fff;
    }

    .header-gradient-bg {
        border-radius: 10px;
    }
}
.header--scrolled #title-search {
    display: block !important;
}

.header--visible {
    top: 0;
}

.header--scrolled #title-search {
    display: block !important;
}


.header--scrolled .header-nav-wrapper {
    margin-bottom: 0;
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-gradient-bg {
    background: 
    radial-gradient(140.56% 486.75% at -40.56% -23.01%, #005BFF 0%, #FF3FC0 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */,
    linear-gradient(12.97deg, rgba(0, 91, 255, 0) 13.99%, #005BFF 268.43%);
    border-radius: 20px;
    max-width: 1860px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    }

.flex {
    display: flex;
}

.header-logo {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 52px;
    line-height: normal;
    color: var(--color-white);
    margin: 0;
}

.header-nav-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media(min-width: 1400px) {
    .header-nav-wrapper {
        padding-bottom: 32px;
    }   
}

.header-gradient-bg .container {
    padding: 32px;
    max-width: unset;
    width: 100%;
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin-right: 50px;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.header-menu-btn {
    display: none;
    background: var(--color-white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--color-black);
    position: relative;
}

.header-menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.nav-link {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.8;
}

.header-icon-btn {
    background: var(--color-white);
    border: none;
    min-width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.header-icon-btn svg {
    width: 24px;
    height: 24px;
    display: block;
}

.header-menu-btn svg {
    width: 24px;
    height: 24px;
    display: block;
}

.header-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Счетчик товаров */
.header-counter {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    color: var(--color-black);
    padding-right: 5px;
}

/* Скрываем счетчик если 0 */
.header-counter[data-count="0"] {
    display: none;
}

.header-btn-account {
    background: var(--color-white);
    border: none;
    padding: 10px 15px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.header-btn-account a {
    display: flex;
    align-items: center;
}

.header-actions a {
    text-decoration: none;
}

.header-btn-account svg {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.header-btn-account span {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--color-black);
}

.header-btn-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Кнопка для гостя */
.header-btn-guest {
    display: flex;
}

/* Кнопка для авторизованного (по умолчанию скрыта) */
.header-btn-authorized {
    min-width: auto;
    padding: 10px 15px;
    gap: 10px;
}

.header-btn-authorized .header-profile-link {
    position: relative;
    z-index: 2;
    text-decoration: none;
    color: inherit;
    gap: 10px;
}

.header-btn-authorized .header-logout-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.header-btn-authorized .user-name {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    color: var(--color-black);
}

.header-btn-authorized .separator {
    width: 1px;
    height: 24px;
    background: #E0E0E0;
    flex-shrink: 0;
}

.header-btn-authorized .logout-text {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: #939393;
}

.header-btn-authorized .logout-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Переключение между гостем и авторизованным */
.user-authorized .header-btn-guest {
    display: none;
}

.user-authorized .header-btn-authorized {
    display: flex;
}

.header-search-wrapper {
    height: auto;
}

.search-box {
    background: var(--color-white);
    border-radius: 10px;
    border-bottom: 2px solid #eae9ee;
    display: flex;
    align-items: center;
    padding: 8px 18px;
    width: 100%;
    height: 100%;
    gap: 14px;
}

.search-icon-green {
    background: transparent;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--color-black);
    flex-shrink: 0;
    letter-spacing: -4px;
    line-height: 1;
}

.search-icon-green img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: block;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: var(--color-black);
}

.search-input::placeholder {
    font-style: italic;
    font-weight: 400;
    color: #939393;
}

.search-button {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    transition: opacity 0.3s;
}

.search-button {
    position: relative;
}

.search-button svg {
    width: 24px;
    height: 24px;
    display: block;
}

.search-button:hover {
    opacity: 0.7;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0;
    margin-bottom: 1rem;
    list-style: none;
}

.breadcrumb a {
    color: #0d6efd;
    text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: .5rem;
}

.breadcrumb-item {
    padding-bottom: .5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: .5rem;
    color: #6c757d;
    content: var(--bs-breadcrumb-divider, "/");
}

.breadcrumb-item.active {
    color: #6c757d;
}

.lesson-section h1,
.lesson-section h2,
.lesson-section h3,
.lesson-section h4,
.lesson-section h5,
.lesson-section h6 {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
}

.lesson-section .description-block > * {
    margin-bottom: 40px;
}

.lesson-section .description-block li {
    margin-left: 14px;
}

.lesson-section video {
    border-radius: 20px;
    cursor: pointer;
}

/* Promo Section - Второй блок (слайдер, реклама, абонемент) */
.promo-section {
    padding: 29px 30px 60px 30px;
}

.section {
    padding: 30px 30px 60px 30px;
}

.promo-container {
    display: flex;
    gap: 30px;
    max-width: 1860px;
    width: 100%;
    flex-wrap: wrap;
}

/* Wrapper для слайдера */
.promo-slider-wrapper {
    position: relative;
    flex: 1;
    min-width: 500px;
}

.promo-image {
    height: 423px;
}

.promo-slider img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.slider-border-svg {
    width: 100%;
    height: 100%;
}

.container {
    position: relative;
    max-width: 1290px;
    width: 100%;
}

/* Левая карточка - Слайдер */
.promo-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    /* clip-path-вырез под кнопку убран, кнопка скрыта */
    clip-path: none;
    border-radius: 20px;
}

.promo-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.slider-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2C2C2C 0%, #1A1A1A 50%, #000000 100%); 
    z-index: 1;
}

.slider-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 3;
}

.slider-text {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.slider-sale-label {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: white;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.slider-discount-text {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 42px;
    line-height: 1.4;
    color: white;
    margin: 0;
}

.slider-section-text {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 42px;
    line-height: 1.4;
    color: white;
    margin: 0;
}

.btn-promo {
    background: radial-gradient(circle at 0% 21%, #00C9DD 0%, #D1F000 88%);
    color: var(--color-black);
    border: none;
    padding: 20px 35px;
    border-radius: 15px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 201, 221, 0.4);
}

.btn-promo-outside {
    position: absolute;
    bottom: 0px;
    font-size: 20px;
    right: 0px;
    z-index: 6;
    right: 0;
    display: none; /* на ПК скрыта, показывается только на мобильной */
}

.blogs .slider-controls, .trending .slider-controls {
    position: relative;
    z-index:400;
    bottom: auto;
    right: auto;
    justify-content: center;
    margin-top: 20px;
    height: auto;
}


 .trending .embla__container {
    gap: 15px;
 }
 
 .trending.embla {
    overflow: visible;
    position: relative;
    z-index: 100;
 }


.slider-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    z-index: 4;
}

.slider-controls__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    background-color: rgba(43, 43, 43, 1);
    border-radius: 15px;
    padding: 24px;
}

.slider-arrow {
    background: transparent;
    border: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.blog-nav-arrow {
    display: flex;
}

.section.pagination {
justify-content: center;
  display: flex;
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
}

.slider-arrow:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.dot {
    width: 20px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    transition: all 0.3s;
    cursor: pointer;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.dot.active {
    background: rgba(209, 240, 0, 1);
    width: 26px;
}

.blog-dots .dot {
    height: 100%;
    display: flex;
    background: transparent;
    justify-content: center;
    border-bottom: 3px solid #000;
    font-weight: bold;
}

.blog-dots {
    align-items: center;
}

.dot.active {
    background: transparent;
    width: 26px;
    border-bottom: 3px solid rgba(209, 240, 0, 1);
}

/* Средняя карточка - Wrapper для PROweaving */
.promo-ad-wrapper {
    position: relative;
    width: 410px;
    height: 423px;
    flex-shrink: 0;
}

/* Блок PROweaving */
.promo-ad {
    background: white;
    padding: 25px 0px 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    position: relative;
    clip-path: url(#ad-content-clip);
}

.ad-content-wrapper {
    display: flex;
    gap: 15px;
    flex: 1;
    align-items: flex-start;
}

.ad-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
    max-width: 240px;
}

.ad-right {
    width: 160px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-image {
    width: 100%;
    height: 100%;
    max-height: 280px;
    object-fit: contain;
    object-position: center;
}

.ad-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ad-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
    color: #6B4423;
    margin: 0;
}

.ad-title img {
    max-width: 100%;
}

.ad-title-underline {
    width: 100%;
    height: 3px;
    background: #E74C3C;
    margin-top: 3px;
}

.ad-description {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--color-black);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.promo-ad{
    background-image:url(/local/templates/leveno/images/promo/proweaving-image.jpg);
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
}

.ad-bottom {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 15px;
    margin-top: auto;
    padding-bottom: 5px;
}

.ad-disclaimer {
    font-family: 'Gilroy', sans-serif;
    font-size: 9px;
    color: #999;
    line-height: 1.4;
    margin: 0;
}

.btn-ad-purple {
    background: linear-gradient(90deg, #8A2BE2 0%, #FF3FC0 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 15px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

a.btn-ad-purple,
a.btn-ad-green {
    text-decoration: none;
    box-sizing: border-box;
}

.btn-ad-green {
    background: radial-gradient(circle at 0% 21%, rgb(0, 201, 221) 0%, rgb(209, 240, 0) 88%);
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 15px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-ad-outside {
    position: absolute;
    bottom: 0px;
    right: 0px;
    font-size: 20px;
}

.btn-ad-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

/* Правая карточка - Абонемент */
.promo-subscription {
    background: radial-gradient(circle at 0% 21%, #00C9DD 0%, #D1F000 88%);
    border: 3px solid white;
    border-radius: 20px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: white;
    justify-content: space-between;
}

@media(max-width: 1282px) {
    .promo-subscription {
        flex: 1;
    }
}

@media(max-width: 1250px) {
      .header-menu-btn {
        display: flex;
    }

    .header-nav-wrapper {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        margin-bottom: 20px;
        justify-content: flex-end;
    }
    
    .header-nav {
        display: none;
    }

    .header-btn-account span {
        display: none;
    }
}

.subscription-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    align-self: center;
    color: var(--color-black);
    margin: 0;
}

.subscription-badge {
    position: relative;
    width: 168px;
    height: 168px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 168px;
    height: 168px;
    z-index: 1;
    object-fit: contain;
}

.badge-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.badge-wrap {
    text-align: center;
}

.badge-number {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 56px;
    color: var(--color-black);
    line-height: 1;
}

.badge-label {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--color-black);
    margin: 0;
    line-height: 1;
}

.subscription-period {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    color: var(--color-black);
    margin: 0;
    align-self: center;
}

.btn-subscription-gray {
    background: #2B2B2B;
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 15px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-gray {
    background: #2B2B2B;
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 15px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.courses-section .buttons,.courses-grid .buttons, .courses-section-detail .buttons {
    display: flex;
    align-items: center;
    margin-top: auto;
    margin-bottom: 0;
    width: 100%;
}

.btn-subscription-gray:hover, .btn-gray:hover {
    background: #3B3B3B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 43, 43, 0.3);
}

/* Trending Section - "Сейчас в тренде" */
.trending-section {
    padding: 0 0 60px 30px;
    background: var(--color-white);
    position: relative;
}

.trending-container::before {
    content: '';
    position: absolute;
    background-color: #fff;
    height: 100%;
    width: 100%;
    top: 0;
    left: -100%;
    z-index: 110;
}

.trending-container::after {
    content: '';
    position: absolute;
    background-color: var(--color-bg-light);
    height: 100%;
    width: 100%;
    top: 0;
    right: -100%;
    z-index: 90;
}
.trending-container {
    position: relative;
    background: var(--color-bg-light);
    border-radius: 20px 0 0 20px;
    padding: 60px 0px 80px 80px;
    max-width: calc(100% + 30px);
}

.trending-label {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--color-black);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.trending-title, .lessons-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 52px;
    line-height: 1.16;
    color: var(--color-black);
    margin-bottom: 40px;
}

.trending-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    margin-bottom: 30px;
    /* Скрываем визуальный скроллбар */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE и Edge */
}

.trending-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.trending-card {
    width: 293px;
    height: 505px;
    flex-shrink: 0;
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.trending-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.trending-image {
    width: 100%;
    height: 267px;
    flex-shrink: 0;
    border-radius: 20px 20px 0 0;
    object-fit: cover;
    object-position: center;
    display: block;
}

.trending-info {
    padding: 20px;
}

.trending-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 12px;
}

.trending-badge {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.209;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-black);
}

.trending-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: var(--color-black);
}

.trending-course-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.209;
    color: var(--color-black);
    margin-bottom: 8px;
}

.trending-author {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.16;
    color: var(--color-black);
    margin-bottom: 12px;
}

.trending-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-buy {
    width: 100%;
    background: linear-gradient(90deg, #8A2BE2 0%, #FF3FC0 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

.trending-footer {
    text-align: center;
    margin-top: 20px;
}

.link-all-lessons {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--color-black);
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s;
}

.link-all-lessons:hover {
    opacity: 0.7;
}

/* Courses Section: y: ~1865 */
.courses-section {
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.courses-section-detail {
    padding: 0 30px 80px 30px;
}

/* Title: Gilroy Regular 32px */
.courses-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.16;
    color: var(--color-black);
    margin-bottom: 60px;
    width: 100%;
    max-width: 1860px;
    text-align: left;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
}



.courses-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1860px;
    margin-left: auto;
    margin-right: auto;
}

.courses-button-wrapper {
    text-align: center;
    padding: 0 0 40px 0;
}

.btn-all-courses {
    background: var(--gradient-radial);
    color: var(--color-white);
    border: none;
    padding: 20px 50px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 91, 255, 0.3);
}

.btn-all-courses:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 91, 255, 0.4);
}

/* Course Card */
.course-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.course-image {
    width: 100%;
    height: 267px;
    flex-shrink: 0;
    border-radius: 20px 20px 0 0;
}

.course-info {
    height: 100%;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.courses-list .buttons {
    display: flex;
    align-items: center;
    width:100%;
}

section.courses-list {
	overflow: hidden;
}

.courses-list .authorship-item img {
    height: 24px;
}

.courses-list .authorship-item span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.courses-list .course-text {
    width: 60%;
}

.courses-list .course-badges {
    width: 40%;
}

.courses-list .course-info {
    flex-direction: row;
    gap: 20px;
    flex-wrap: nowrap;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.course-badge {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.209;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-black);
}

.course-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--color-black);
}

.course-time a, .trending-course-title a, .course-title a {
    text-decoration: none;
    color: var(--color-black);
}

.course-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.209;
    color: var(--color-black);
    margin-bottom: 10px;
}

.course-author {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.16;
    color: var(--color-black);
    margin-bottom: 15px;
}

.course-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-current {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.209;
}

.price-old {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.16;
    color: #BDBDBD;
    text-decoration: line-through;
}

.lessons .embla__slide {
    flex: 0 0 100%;
    text-align: center;
}

.lessons .slider-controls {
    position: relative;
    bottom: unset;
    right: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.lessons .embla__slide img {
    max-width: 100%;
    max-height: 600px;
}

/* Blogs Section */
.blogs-section {
    padding: 80px 0px 80px 30px;
    background: var(--color-bg-light);
    overflow: hidden;
    border-radius: 20px;
}

.blogs-container {
    display: flex;
    gap: 30px;
    margin: 0 auto;
    width: 100%;
    justify-content: flex-start;

}

.blogs .embla__slide {
    margin-left: 15px;
    margin-right: 15px;
}

.blogs .embla__slide:first-child {
    margin-left: 0;
}
.blogs .embla__slide:last-child {
    margin-right: 0;
}

.blogs-intro {
    height: 475px;
    aspect-ratio: 10/11;
    border: 2px solid #2B2B2B;
    border-radius: 20px;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.blogs-intro a {
    text-decoration: none;
}

.blogs-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 42px;
    line-height: 1;
    color: var(--color-black);
    margin: 0;
}

.blogs-description {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.16;
    color: var(--color-black);
    flex: 1;
    margin: 0;
}

.btn-all-blogs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background: radial-gradient(circle at 0% 21%, rgba(0, 201, 221, 1) 0%, rgba(209, 240, 0, 1) 88%);
    border: none;
    border-radius: 15px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    color: var(--color-black);
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-all-blogs:hover {
    opacity: 0.9;
}

.blogs-container::-webkit-scrollbar {
    display: none;
}

.blog-card {
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.slider-controls__inner  .slider-arrow svg path {
    stroke: #fff;
}

.slider-controls__inner  .dot {
    background: #fff;
}

.slider-controls__inner .dot.active {
    background: rgba(209, 240, 0, 1);
}

.blog-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    height: 475px;
    aspect-ratio: 10/11;
}

.blog-category-top {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: white;
    margin: 0;
    z-index: 2;
}

.blog-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}

.blog-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    color: white;
    margin: 0;
}

.blog-author {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.3;
    color: white;
    margin: 0;
    opacity: 0.9;
}

.blog-card-cta {
    width: 520px;
    height: 276px;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    flex-shrink: 0;
    background: radial-gradient(circle at 0% 21%, rgba(0, 201, 221, 1) 0%, rgba(209, 240, 0, 1) 88%);
}

.blog-cta-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.1;
    color: var(--color-black);
    margin: 0;
}

.blog-cta-description {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-black);
    margin: 0;
    flex: 1;
}

.btn-blog-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    background: #2B2B2B;
    border: none;
    border-radius: 15px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-blog-cta:hover {
    background: #3B3B3B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 43, 43, 0.3);
}

/* Hero Section: Rectangle 14 x:30 y:4772, 1860x812px */
.hero-section {
    position: relative;
    width: 100%;
    text-align: center;
}

.hero-bg {
    position: absolute;
    left: 30px;
    top: 0;
    width: 1860px;
    height: 812px;
    border-radius: 20px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 100px;
}

/* Hero Title: Gilroy Bold 52px */
.hero-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 52px;
    line-height: 1.209;
    text-align: center;
    color: var(--color-black);
    margin: 0 0 8px 0;
}

/* Hero Subtitle: Gilroy Regular 18px */
.hero-subtitle {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.16;
    text-align: center;
    color: var(--color-black);
    margin: 0;
}

/* Statistics Section */
.stats-section {
    padding: 80px 30px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-container {
    width: 100%;
}

/* Stats Grid */
.stats-grid {
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.stat-card {
    background: var(--color-white);
    border-radius: 20px;
    border: 2px solid #2B2B2B;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 40px 0;
    width: auto;
    flex-grow: 1;
    aspect-ratio: 4 / 3;
}

.footer-bottom {
    display: grid;
    gap: 30px;
    align-items: start;
}

@media (max-width: 1400px) {
    .slider-content {
        bottom: 100px;
    }
    .header-gradient-bg .container {
        padding: 32px 16px;
    }
}

@media (min-width: 1401px) {
    .footer-bottom {
        grid-template-columns: 410px 1fr 190px;
    }
    .footer-policies {
        justify-self: end;
    }
}

@media (min-width: 1201px){
    .stat-card {
        min-height: 276px;
    }

    .stat-card.stat-logo-card {
        aspect-ratio: 1;
    }
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-logo-card {
    background: #2B2B2B;
    border: 2px solid #2B2B2B;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-logo-lvn {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 52px;
    line-height: 1;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: radial-gradient(circle at 0% 21%, rgba(0, 201, 221, 1) 0%, rgba(209, 240, 0, 1) 88%);
}

.stats-logo-lvn img {
    max-width: 100%;
}

/* Stat Number: Gilroy Bold 26px */
.stat-number {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 1.209;
    text-align: center;
    margin: 0;
}

/* Gradient Text Effect from Figma */
.gradient-text {
    background: radial-gradient(circle at -41% -23%, rgba(0, 91, 255, 1) 0%, rgba(255, 63, 192, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stat Label: Gilroy Regular 12px */
.stat-label {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.16;
    text-align: center;
    color: var(--color-black);
    margin: 0;
}

/* Works Section: y:~6724 */
/* Student Works Section */
.works-section {
    padding: 0px 30px;
    background: var(--color-white);
    overflow: hidden; /* Позволяет изображениям выходить за пределы контейнера как в макете */
}

.works-wrapper {
    margin: 0 auto;
    position: relative;
    min-height: 582px;
    display: grid;
    gap: 40px;
    grid-template-areas:
    "a b b c" 
    "d b b e" 
    "x x x x";
}

.works-wrapper img {
    max-width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.bottom-pics {
    display: flex;
    gap: 40px;
}


/* Все изображения позиционируются абсолютно относительно .works-wrapper */
/* Базовая точка: y:6574 (самое верхнее изображение) */
/* Все координаты из Figma: x относительно 30px, y относительно 6574px */

/* gallery-2.jpg: x:30, y:6574 → left:-285px (30-315 относительно контейнера), top:0, width:255, height:276 */
/* Изображение выходит за левую границу контейнера (как в макете) */
.works-top-left {
    position: absolute;
    left: -285px; /* 30-315 */
    top: 0;
    width: 255px;
    height: 276px;
}

/* Все координаты пересчитаны относительно контейнера (x:315, width:1290) */
/* gallery-3.jpg: x:1635, y:6574 → left:1320px (1635-315), top:0, width:255, height:276 */
/* Но 1320px > 1290px, значит это изображение выходит за пределы или координаты неправильные */
/* Проверяю: контейнер x:315 + width:1290 = 1605, значит x:1635 выходит на 30px за пределы */
/* Возможно, это изображение частично выходит за пределы контейнера, оставляю как есть для точности макета */
.works-top-right {
    position: absolute;
    left: 1320px; /* 1635-315 */
    top: 0;
    width: 255px;
    height: 276px;
}

/* work-left-1.jpg: x:30, y:6880 → left:-285px (30-315), top:306px (6880-6574), width:255, height:276 */
/* x:30 < x:315 контейнера, значит это изображение выходит за левую границу контейнера */
.works-left-top {
    position: absolute;
    left: -285px; /* 30-315 */
    top: 306px;
    width: 255px;
    height: 276px;
}

/* gallery-1.jpg: x:1635, y:6880 → left:1320px (1635-315), top:306px, width:255, height:276 */
.works-right-top {
    position: absolute;
    left: 1320px; /* 1635-315 */
    top: 306px;
    width: 255px;
    height: 276px;
}

/* work-left-2.jpg: x:425, y:7186 → left:110px (425-315), top:612px (7186-6574), width:585, height:276 */
.works-left-middle {
    position: absolute;
    left: 110px; /* 425-315 */
    top: 612px;
    width: 585px;
    height: 276px;
}

/* work-left-3.jpg: x:1480, y:7186 → left:1165px (1480-315), top:612px, width:410, height:276 */
/* 1165+410=1575 > 1290, выходит за пределы */
.works-left-bottom {
    position: absolute;
    left: 1165px; /* 1480-315 */
    top: 612px;
    width: 410px;
    height: 276px;
}

/* work-right-1.jpg: x:1040, y:7186 → left:725px (1040-315), top:612px, width:410, height:276 */
.works-right-middle {
    position: absolute;
    left: 725px; /* 1040-315 */
    top: 612px;
    width: 410px;
    height: 276px;
}

/* work-right-2.jpg: x:30, y:7186 → left:-285px (30-315), top:612px, width:365, height:276 */
.works-right-bottom {
    position: absolute;
    left: -285px; /* 30-315 */
    top: 612px;
    width: 365px;
    height: 276px;
}

/* Изображения под карточкой - проверяю по макету */
/* В макете нет отдельных изображений под карточкой на y:7186 */
/* Возможно, они должны быть на других координатах или не должны быть вообще */
/* Временно скрываю, пока не уточню точное расположение */
.works-bottom-center-left,
.works-bottom-center-right {
    display: none; /* Временно скрыто, нужно уточнить расположение в макете */
}

/* Центральная карточка - позиционируется по центру (x:315 из Figma - начало контейнера) */
/* Карточка должна быть по центру контейнера 1290px */
.works-center-card {
    width: 100%;
    height: 100%;
    background: var(--color-white);
    border: 2px solid #2B2B2B;
    border-radius: 20px;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
}

.works-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.21;
    letter-spacing: -0.02em;
    color: var(--color-black);
    margin: 0 0 20px 0;
}

.works-subtitle {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.16;
    color: var(--color-black);
    margin: 0 0 40px 0;
}

.btn-find-lesson {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 40px;
    background: linear-gradient(90deg, rgba(0, 91, 255, 1) 0%, rgba(255, 63, 192, 1) 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.209;
    cursor: pointer;
    transition: all 0.3s;
    justify-content: center;
    white-space: nowrap;
}

.buttons .header-icon-btn {
    padding-right: 0;
}

@media(max-width: 600px) {
    .btn-find-lesson {
        padding: 10px 16px;
        font-size: 14px;
    }
    .stats-logo-lvn img {
        max-width: 80px;
    }
    .btn-gray {
        font-size: 12px;
        padding: 10px;
        border-radius: 7px;
    }

.kursy .lessons-title  {
margin-bottom: 10px;
}

.kursy .description-block, .kursy .description-block p   {
margin-bottom: 0px;
}
    
    
    div.buttons .btn-gradient-border, .sideblock .gradient-bg-purple {
         border-radius: 7px;
    }
    div.trending-container {
        padding: 40px 0px 40px 20px;
margin-top: 40px;
    }
    
    .buttons .header-icon-btn {
        height: auto;
        width: auto;
        min-width: auto;
    }
    
    .buttons img {
        width: 16px;
    }
    .trending-card {
        width: 150px;
        height: auto;
    }
    .dot {
        width: 15px;
    }
    .embla.trending {overflow: visible;}
    .trending-image, .course-image {
        height: auto;
        width: 100%;
        aspect-ratio: 1;
    }
    
    .trending-course-title, .course-title {
        font-size: 14px;
    }
    
    .trending-badge, .trending-time {
        font-size: 10px;
    }
    
    .trending-author, .course-author {
        font-size: 12px;
    }
    
    .trending-info, .course-info {
        padding: 15px;
    }
    
    section.brands-section {
        padding-top:0;
        padding-bottom:0;
    }
    
    .hero-content {
        padding: 40px 10px 0 10px;
    }
}

.stat-card {
    aspect-ratio: auto;
}

.trending-container {
    padding: 50px 0px 50px 30px;
}

.btn-find-lesson:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 91, 255, 0.3);
}

/* Изображения работ - базовые стили */
.works-image {
    border-radius: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    /* width и height задаются через конкретные классы позиционирования */
}

/* Размеры из макета Figma */
.works-left-column .works-image:nth-child(1) {
    height: 276px;
}

.works-left-column .works-image:nth-child(2) {
    height: 276px;
}

.works-left-column .works-image:nth-child(3) {
    height: 276px;
}

.works-right-column .works-image:nth-child(1) {
    height: 276px;
}

.works-right-column .works-image:nth-child(2) {
    height: 276px;
}

.works-right-column .works-image:nth-child(3) {
    height: 276px;
}

.works-bottom-row .works-image {
    height: 276px;
}

.works-image:hover {
    transform: scale(1.02);
}

/* Устаревшие классы (для обратной совместимости) */
.works-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1860px;
    margin: 0 auto;
}

.gallery-item {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

/* Brands Carousel Section */
.brands-section {
    padding: 80px 0;
    background: var(--color-white);
}

.brands-carousel {
    display: flex;
    gap: 80px;
}

.brands-container .embla__slide {
    align-items: center;
    display: flex;
    margin-right: 40px;
}
.brands-carousel::-webkit-scrollbar {
    display: none;
}

.brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Логотип 1: Школа ротанга (черный круг) */
.brand-logo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.brand-initials {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--color-white);
    line-height: 1;
}

.brand-name-small {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: var(--color-white);
    line-height: 1;
    text-align: center;
}

/* Логотип 2: PROweaving */
.brand-logo-proweaving {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.brand-logo-proweaving span {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #6B4423;
    line-height: 1;
}

.brand-underline {
    width: 120%;
    height: 4px;
    background: #E74C3C;
    margin-top: 8px;
}

/* Логотип 3: RAMMUS (шестиугольник) */
.brand-logo-rammus {
    width: 140px;
    height: 140px;
    background: var(--color-black);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rammus-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.rammus-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--color-white);
    line-height: 1;
}

.rammus-subtitle {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 11px;
    color: var(--color-white);
    line-height: 1.2;
    text-align: center;
}

/* Логотип 4: GREY */
.brand-logo-grey {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-grey span {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #999999;
    line-height: 1;
}

.grey-icon {
    width: 40px;
    height: 40px;
}

/* Suppliers Page */
.suppliers-page {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding-top: 40px;
    padding-bottom: 80px;
}

.suppliers-container {
    max-width: 1290px;
    margin: 0 auto;
    width: 100%;
    padding: 0 30px;
}

.suppliers-breadcrumbs {
    padding-bottom: 20px;
}

.suppliers-breadcrumbs .suppliers-container {
    display: flex;
    gap: 10px;
    align-items: center;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.breadcrumbs-link {
    color: var(--color-gray);
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumbs-link:hover {
    opacity: 0.7;
}

.breadcrumbs-current {
    color: var(--color-black);
}

.breadcrumbs-separator {
    color: var(--color-gray);
}

.suppliers-search-section {
    padding: 0 30px 40px;
}

.suppliers-search-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--color-border-light);
    background: var(--color-white);
    box-shadow: 0 35px 60px -25px rgba(0, 0, 0, 0.08);
}

.suppliers-logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    background: var(--gradient-radial);
    color: var(--color-white);
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suppliers-search-texts {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.suppliers-search-label {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--color-gray);
}

.suppliers-search-example {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-black);
}

.suppliers-search-btn {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    border: none;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suppliers-search-btn:hover {
    transform: translateY(-2px);
}

.suppliers-intro-section {
    padding: 0 30px 40px;
}

.suppliers-kicker {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray);
    margin-bottom: 10px;
}

.suppliers-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 52px;
    line-height: 1.16;
    margin-bottom: 15px;
}

.suppliers-description {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    max-width: 850px;
    color: var(--color-black);
    margin-bottom: 35px;
}

.suppliers-filter-chips {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px 14px 14px;
    border-radius: 50px;
    border: 2px solid var(--color-border-light);
    background: var(--color-white);
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--color-black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.chip:hover {
    transform: translateY(-2px);
    border-color: var(--color-black);
}

.chip-active {
    border-color: var(--color-black);
    background: var(--gradient-radial);
    color: var(--color-white);
    padding-right: 24px;
}

.chip-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-bg-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.chip-active .chip-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.suppliers-grid-section {
    padding: 0 30px 40px;
}

.suppliers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.supplier-card {
    background: #EAE9EE;
    border-radius: 20px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 475px;
}

.supplier-card-accent {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.12) 100%), #EAE9EE;
    border: 2px solid var(--color-border-light);
}

.supplier-card-media {
    width: 200px;
    height: 80px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
}

.supplier-card-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.supplier-card-tags span {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
}

.supplier-card h3 {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: var(--color-black);
    margin: 0;
}

.supplier-card-location {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--color-black);
    margin-top: auto;
}

.supplier-card-cta {
    background: var(--color-bg-light);
    align-items: center;
    justify-content: center;
    text-align: center;
}

.supplier-card-cta p {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 20px;
}

.suppliers-cta-section {
    padding: 0 30px 40px;
}

.suppliers-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.section-label {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gray);
    margin-bottom: 10px;
}

.suppliers-trending-section {
    padding: 40px 30px;
    background: var(--color-bg-light);
    border-radius: 20px;
    margin: 0 30px;
}

.suppliers-trending-header h2 {
    font-size: 32px;
    font-weight: 700;
}

.suppliers-trending-section .courses-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.suppliers-seo-section {
    padding: 60px 30px 0;
}

.suppliers-seo-section .suppliers-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.suppliers-seo-section p {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-black);
}

.suppliers-seo-section .seo-list {
    padding-left: 20px;
    font-size: 18px;
}

@media (max-width: 1280px) {
    .suppliers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =====================================================
   SUPPLIERS PAGE - Точно по макету Figma
   Страница: 1920x4951px
   ===================================================== */

/* Container: max-width 1290px, центрирован */
.sp-container {
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    padding: 0;
}

@media (max-width: 1350px) {
    .sp-container {
        padding: 0 30px;
    }
}

/* Main */
.suppliers-main {
    padding-top: 30px;
}

/* Breadcrumbs: y:336 относительно страницы */
.sp-breadcrumbs {
    padding: 30px 0;
}

.sp-breadcrumbs .sp-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sp-breadcrumb-link {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.16;
    color: #005BFF;
    text-decoration: none;
    transition: opacity 0.3s;
}

.sp-breadcrumb-link:hover {
    opacity: 0.7;
}

.sp-breadcrumb-sep,
.sp-breadcrumb-current {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.16;
    color: var(--color-black);
}

/* Suppliers Intro: y:458, width:850 */
.sp-intro {
    padding: 60px 0 40px;
}

.sp-intro-content {
    max-width: 850px;
}

.sp-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 52px;
    line-height: 1.16;
    color: var(--color-black);
    margin: 0 0 15px 0;
}

.sp-description {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
    color: var(--color-black);
    margin: 0 0 40px 0;
}

/* Filters: width:1290 */
.sp-filters {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 1290px;
}

.sp-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 30px 0 10px;
    height: 60px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #EFEEF3;
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.16;
    color: var(--color-black);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.sp-filter:first-child {
    width: 135px;
    padding: 0 41px;
}

.sp-filter-active {
    font-weight: 700;
    border-bottom: 2px solid transparent;
    background: linear-gradient(var(--color-white), var(--color-white)) padding-box,
                radial-gradient(circle at -41% -23%, rgba(0, 91, 255, 1) 0%, rgba(255, 63, 192, 1) 100%) border-box;
    border-bottom: 2px solid;
    border-image: radial-gradient(circle at -41% -23%, rgba(0, 91, 255, 1) 0%, rgba(255, 63, 192, 1) 100%) 1;
}

.sp-filter:hover {
    border-bottom-color: var(--color-black);
}

.sp-filter-icon {
    width: 24px;
    height: 24px;
    color: var(--color-gray);
}

.sp-filter-text {
    text-align: center;
}

/* Suppliers Grid: y:796, width:1290, gap:30, wrap:true */
.sp-grid-section {
    padding: 40px 0 60px;
}

.sp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
}

/* Card: 410x475px */
.sp-card {
  
    height: 475px;
    background: #EAE9EE;
    border-radius: 20px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
}

.sp-card-logo {
    aspect-ratio: 16/9;
    max-height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
  
}

.sp-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sp-tag {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.209;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-black);
}

.sp-card-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.209;
    color: var(--color-black);
    margin: 0;
}

.sp-card-location {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.16;
    color: var(--color-black);
    margin: 0;
}

/* Trending Section: background y:2523, 1890x943 */
.sp-trending {
    padding: 0;
}

.sp-trending-bg {
    background: #EFEEF3;
    border-radius: 20px 0 0 20px;
    margin-left: 30px;
    padding: 80px 0 80px 0;
}

.sp-trending-kicker {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.209;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-black);
    margin: 0 0 10px 0;
}

.sp-trending-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 52px;
    line-height: 1.16;
    color: var(--color-black);
    margin: 0 0 47px 0;
}

/* Trending Grid: width:1290, gap:30, overflow-x:scroll */
.sp-trending-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gray) transparent;
}

.sp-trending-grid::-webkit-scrollbar {
    height: 6px;
}

.sp-trending-grid::-webkit-scrollbar-track {
    background: transparent;
}

.sp-trending-grid::-webkit-scrollbar-thumb {
    background: var(--color-gray);
    border-radius: 3px;
}

.sp-trending-grid .course-card {
    flex-shrink: 0;
    width: 300px;
    opacity: 1 !important;
    transform: none !important;
}

.sp-trending-grid .course-image {
    height: 308px;
    border-radius: 20px 20px 0 0;
    background-size: cover;
    background-position: center;
}

.sp-trending-grid .course-info {
    background: var(--color-white);
    padding: 20px 30px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0px 44px 54px -10px rgba(0, 0, 0, 0.05);
}

.sp-trending-grid .course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}

.sp-trending-grid .course-badge {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.209;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-black);
}

.sp-trending-grid .course-time {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.209;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-black);
}

.sp-trending-grid .course-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.209;
    color: var(--color-black);
    margin: 0 0 10px 0;
}

.sp-trending-grid .course-author {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.16;
    color: var(--color-black);
    margin: 0 0 10px 0;
}

.sp-trending-grid .course-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-trending-grid .price-current {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.209;
    color: var(--color-black);
}

.sp-trending-grid .price-current.gradient-text {
    background: radial-gradient(circle at -41% -23%, rgba(0, 91, 255, 1) 0%, rgba(255, 63, 192, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp-trending-grid .price-old {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.16;
    color: #BDBDBD;
    text-decoration: line-through;
}

/* SEO Section: y:3624-3819, width:1290 */
.sp-seo {
    padding: 80px 0;
    text-align: center;
}

.sp-seo-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 82px;
    line-height: 1.209;
    color: var(--color-black);
    margin: 0 0 10px 0;
}

.sp-seo-subtitle {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.16;
    color: var(--color-black);
    margin: 0 0 60px 0;
}

.sp-seo-text {
    max-width: 1290px;
    margin: 0 auto;
    text-align: left;
}

.sp-seo-text p {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
    color: var(--color-black);
    margin: 0 0 24px 0;
}

.sp-seo-text ul {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
    color: var(--color-black);
    margin: 0 0 24px 0;
    padding-left: 20px;
}

.sp-seo-text li {
    margin-bottom: 8px;
}

.sp-seo-heading {
    font-weight: 700;
}

/* CTA Buttons: y:4343 */
.sp-cta {
    padding: 0 0 80px 0;
}

.sp-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.sp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: radial-gradient(circle at -41% -23%, rgba(0, 91, 255, 1) 0%, rgba(255, 63, 192, 1) 100%);
    color: var(--color-white);
    border: none;
    border-radius: 15px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.209;
    cursor: pointer;
    transition: all 0.3s;
}

.sp-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.sp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: radial-gradient(circle at 0% 21%, rgba(0, 201, 221, 1) 0%, rgba(209, 240, 0, 1) 88%);
    color: var(--color-black);
    border: none;
    border-radius: 15px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.209;
    cursor: pointer;
    transition: all 0.3s;
}

.sp-btn-secondary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Responsive Suppliers Page */
@media (max-width: 1400px) {
    .sp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .sp-grid {
        gap: 10px;
    }

    .sp-card {
        width: 100%;
    }
    
    .sp-card-title {
        font-size: 14px;
    }
    
    .sp-card-tags {
        gap: 4px;
    }
    
    .sp-filters {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .sp-filter {
        flex: 1 1 auto;
    }
    
    .sp-filter:first-child {
        width: auto;
    }
    
    .sp-seo-title {
        font-size: 48px;
    }
    
    .sp-btn-primary,
    .sp-btn-secondary {
        font-size: 20px;
        padding: 15px 25px;
    }
    
    .sp-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .breadcrumb-section.section {
        padding-bottom: 0;
    }
}

@media (max-width: 600px) {
    .sp-title {
        font-size: 36px;
    }
    
   .description-section .description-block p, .description-section .description-block h1 {
    margin-bottom: 10px;
}

  .description-section .description-block {
      margin-bottom: 0;
  }
  
  .description-section {
      padding-bottom: 0;
  }
    
    .sp-description {margin: 0;}
    
    .section.suppliers {
        padding-top: 0;
    }
    .sp-trending-title {
        font-size: 36px;
    }
    
    .sp-trending-bg {
        margin-left: 15px;
        padding: 40px 0;
    }
    
    .sp-card {
        padding: 15px;
        height: 100%;
    }
    
    .sp-card-title {
        font-size: 12px;
    }
    
    .price-current {
        font-size: 16px;
    }
    
    .price-old {
        font-size: 12px;
    }
    
    .trending-section, .promo-section, .courses-section, .stats-section, .works-section, .suppliers-wrapper, .suppliers, .description-section, .breadcrumbs-section{
        padding-bottom: 0;

padding-left:10px !important;
padding-right: 10px !important;
    }
    

    
      .suppliers .sp-grid {
    row-gap: 15px;
    padding: 0;
    column-gap: 5px;
  }
}

.works-section {
	margin-bottom: 40px;
}

/* SEO Section */
.seo-section {
    padding: 80px 30px;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
}

.seo-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.209;
    color: var(--color-black);
    margin: 0 0 10px 0;
    text-align: center;
}

.seo-subtitle {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin: 0 0 40px 0;
    text-align: center;
}

.seo-text {
    max-width: 1000px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-black);
    text-align: left;
}

.seo-text p {
    margin-bottom: 20px;
}

.seo-heading {
    font-weight: 700;
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.seo-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}

@media(max-width: 768px) {
    .seo-buttons a button{
        min-width: 360px;
    } 

    .sp-breadcrumbs {
        padding-bottom: 0;
    }

    .breadcrumb {
        margin-bottom: 0;
    }

    .promo-ad-wrapper {
        width: 100%;
        height: auto;
    }

    .promo-ad-wrapper > svg {
        display: none;
    }

    .ad-description {
        font-size: 14px;
        line-height: 1.1;
    }

    .promo-image {
        height: 300px;
    }

    .ad-left {
        max-width: 60%;
    }

    .btn-promo-outside {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .blogs .embla__slide {
        height: auto;
        flex-basis: 80%;
        margin: 5px;
        aspect-ratio: unset;
    }

    .blog-image {
        height: 100%;
        aspect-ratio: unset;
    }

    .blogs-title {
        font-size: 32px;
    }

    .blogs-description {
        font-size: 16px;
    }

    .promo-slider {
        clip-path: none;
        border-radius: 20px;
    }

    .promo-ad {
        background-size: 75%;
        border-radius: 20px;
        border: 2px solid;
        background-position: center right;
    }

    .btn-ad-outside {
        bottom: 20px;
        right: 20px;
    }

    .promo-slider-wrapper {
        min-width: unset;
    }

    .slider-sale-label {
        font-size: 12px;
    }

    .slider-discount-text, .slider-section-text {
        font-size: 22px;
        line-height: 1.2;
    }

    .slider-controls {
        position: relative;
        z-index:400;
        bottom: auto;
        right: auto;
        justify-content: center;
        height: 24px;
        margin-top: 20px;
    }

    .lessons .slider-controls {
        height: auto;
    }

    .btn-promo-outside {
        bottom: 44px;
        display: block;
    }

    .slider-arrow svg path {
        stroke: #000;
    }

    .dot {
        background: #000;
    }
}

.btn-start-lesson {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: radial-gradient(circle at -41% -23%, rgba(0, 91, 255, 1) 0%, rgba(255, 63, 192, 1) 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.209;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-start-lesson:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: radial-gradient(circle at 0% 21%, rgba(0, 201, 221, 1) 0%, rgba(209, 240, 0, 1) 88%);
    color: var(--color-black);
    border: none;
    border-radius: 15px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.209;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-telegram:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--color-bg-light);
    padding: 57px 30px 80px 30px;
    margin: 0 30px 30px 30px;
    border-radius: 20px;
    max-width: calc(1920px - 60px);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 63px;
    max-width: 1290px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 52px;
    line-height: 1.209;
    margin: 0;
    color: var(--color-black);
}

.footer-top-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-company-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.209;
    color: var(--color-black);
}

.footer-company-info p {
    margin: 0;
    line-height: 1.209;
    margin-bottom: 10px;
}

.footer-email {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.209;
    color: var(--color-black);
    text-decoration: underline;
    display: inline-block;
}

.footer-email:hover {
    opacity: 0.7;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
    row-gap: 10px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.209;
    color: var(--color-black);
    margin: 0;
}

.footer-column a {
    font-family: 'Gilroy', sans-serif;

    font-size: 16px;
    line-height: 1.209;
    color: var(--color-black);
    text-decoration: none;
    transition: opacity 0.3s;
}


.footer-column a:hover {
    opacity: 0.7;
}

.footer-icon-btn {
    height: 45px;
    border-radius: 10px;
    background: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    transition: all 0.3s;
}

.footer-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-btn-account {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    height: 45px;
    border-radius: 10px;
    background: var(--color-white);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    color: var(--color-black);
}

.footer-btn-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-btn-account span {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--color-black);
}

.footer-top-actions a {
    text-decoration: none; 
}

.footer-policies {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 190px;
}

.policy-link {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.16;
    color: var(--color-black);
    text-decoration: underline;
    transition: opacity 0.3s;
}

.policy-link:hover {
    opacity: 0.7;
}

.header-content {
    flex: 1;
}

/* Адаптивность */
@media (max-width: 1920px) {
    .page-container {
        width: 100%;
    }
    
    .header-bg,
    .header-content {
        width: calc(100% - 60px);
        max-width: 1860px;
    }
    
    .hero-bg {
        width: calc(100% - 60px);
        max-width: 1860px;
    }
}

@media (max-width: 1600px) {
    .promo-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .promo-slider {
        grid-column: span 2;
    }
    
    .courses-title {
        padding-left: 30px;
    }
    
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-section,
    .works-section,
    .seo-section {
        padding: 60px 30px;
    }
    
    .footer {
        padding: 50px 30px;
        margin: 20px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-content {
        grid-template-columns: 300px auto 180px;
        gap: 50px;
    }
    
    .footer-logo {
        font-size: 56px;
    }
    
    .stats-data-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .works-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.bottom-pic:nth-child(1) {
    grid-area: j;
}

.bottom-pic:nth-child(2) {
    grid-area: k;
}

.bottom-pic:nth-child(2) {
    grid-area: l;
}

.bottom-pic:nth-child(2) {
    grid-area: m;
}

@media (max-width: 1200px) {
    .header-logo {
        font-size: 48px;
    }
    
    .hero-title {
        font-size: 64px;
    }
    
    .works-wrapper {
        grid-template-areas:
        "a c"
        "d e"
        "b b"
        "j k"
        "l m";
        gap: 20px;
    }
    
    .works-wrapper img {
        aspect-ratio: 9/10;
        width: 100%;
    }
    
    .bottom-pics {
        display: contents;
        gap: 40px;
    }
    
    .works-center-card {
        padding: 40px 50px;
    }
    
    .works-title {
        font-size: 48px;
    }
    
    .works-subtitle {
        font-size: 18px;
    }
    
    .works-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 64px;
    }
    
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-data-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 0;
    }
    
}

@media (max-width: 900px) {
    .suppliers-search-card {
        flex-wrap: wrap;
        text-align: center;
    }
    
   .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    }
    
    .suppliers-search-btn {
        width: 100%;
    }
    
    .suppliers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .chip {
        width: 100%;
        justify-content: flex-start;
    }
    
    .suppliers-search-card {
        padding: 20px;
    }
    
    .suppliers-cta-buttons {
        flex-direction: column;
    }
    
    .suppliers-trending-section .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .subscription-title {
        font-size: 24px;
    }
    
    .subscription-badge, .badge-shape {
        width: 90px;
        height: 90px;
    }
    
    .badge-number {
        font-size: 28px;
    }
    
    .badge-label, .btn-subscription-gray {
        font-size: 14px;
    }
  
    .badge-content {
        gap: 0;
    }
    
    .subscription-period {
        font-size: 14px;
        margin-top: 10px;
    }
}

@media  (max-width: 768px) {
    div.promo-subscription {
        display: grid;
        grid-template-areas: "a b"
        "c b";
        padding: 30px 25px;
        width: 100%;
    }
    
    .subscription-title {
        grid-area: a;
    }
    
    .btn-subscription-gray {
        grid-area: c;
    }
        
    .badge-wrap {
        grid-area: b;
    }
}

@media (max-width: 768px) {

.about-section {
margin-bottom: 0 !important;
padding-bottom: 20px;
}

.sideblock-about .about-sidebar-title {
margin-top:30px;
}

.about-section .about-icons-wrapper {
  margin-bottom: 30px;
}



.about-section .description-block {
margin-bottom: 0;
}
    /* Адаптивный header как в макете */
    .header-nav {
        display: none;
    }
    .footer-btn-account span {
        display: none;
    }
    
    .header-btn-authorized .separator {
        width: 0;
    }
    
    .header {
        padding: 0;
    }
    
    .header-gradient-bg {
        border-radius: 0;
    }
    
    .header-gradient-bg .container {
        padding: 0;
    }
    .header-icon-btn.header-btn-cart {
        width: auto;
}
    
    .header-icon-btn,
    .header-btn-account,
    .header-menu-btn {
        width: 40px;
        height: 40px;
        padding: 8px;
        min-width: 40px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .header-logo {
        font-size: 40px;
    }
    
    .header-gradient-bg {
        height: auto;
        padding: 20px;
    }
    
    .header-content {
        position: relative;
        display: flex;
        align-items: center;
    }
    
    .header-search-wrapper {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        height: auto;
    }
    
    .search-box {
        padding: 8px 15px;
        gap: 10px;
    }
    
    .search-icon-green {
        width: 34px;
        height: 34px;
        font-size: 24px;
    }
    
    .search-input {
        font-size: 14px;
    }
    
    .promo-container {
        grid-template-columns: 1fr;
    }
    
    .promo-slider {
        grid-column: 1;
    }
    
    .trending-title, .lessons-title {
        font-size: 36px;
    }
    
    .courses-title {
        padding-left: 30px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .works-wrapper {
        grid-template-rows: auto;
       row-gap: 15px;

    column-gap: 5px;
    }
    
    .works-left-column,
    .works-right-column {
        grid-column: 1;
        grid-row: auto;
        flex-direction: row;
        overflow-x: auto;
        gap: 20px;
    }
    
    .works-left-column .works-image,
    .works-right-column .works-image {
        min-width: 200px;
        flex-shrink: 0;
    }
    
    .works-center-card {
        grid-column: 1;
        grid-row: auto;
        padding: 30px 20px;
        min-height: auto;
    }
    
    .works-title {
        font-size: 32px;
    }
    
    .works-subtitle {
        font-size: 16px;
    }
    
    .works-bottom-row {
        grid-column: 1;
        grid-row: auto;
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .stats-data-grid {
        grid-template-columns: 1fr;
    }
    
    .works-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-item {
        height: 300px;
    }
    
    .footer {
        padding: 40px 30px;
        margin: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo {
        font-size: 40px;
    }
    
    .footer-right {
        align-items: flex-start;
    }
    
    .footer-policies {
        align-items: flex-start;
    }
    
    .footer-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .header-logo {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .courses-title,
    .seo-section {
        padding: 40px 30px;
        
    }
    
    .courses-title {
        padding-top: 10px;
        margin-bottom: 0;
    }
    
    .seo-title {
        font-size: 32px;
    }
    
    .seo-subtitle {
        font-size: 16px;
    }
    
    .seo-text {
        font-size: 14px;
    }
    
    .courses-grid {
      
row-gap: 15px;
    padding: 0;
    column-gap: 5px;
    }
    
    .course-badge, .course-time {
        font-size: 10px;
    }
    
    .course-title {
        font-size: 14px;
    }
    
    .course-author {
        font-size: 12px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

.embla {
    overflow: hidden;
}

.embla__container {
    display: flex;
}

@keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}

@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}

.novideo {
    position: relative;
}

.novideo:after {
    display: block;
    position: absolute;
    content: "";
    bottom: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border: 30px solid transparent;
    border-width: 40px 0px 40px 70px;
    border-radius: 0;
    border-left-color: white;
    transform: translate(-25px, 50%);
    z-index: 101;
}

.novideo:before {
    position: absolute;
    content: "";
    bottom: calc(50% - 65px);
    left: calc(50% - 65px);
    background-color: lightgray;
    height:130px;
    width:130px;
    border-radius: 50%;
    z-index: 100;
}

.description-block p {
    width: 100%;
    margin-bottom: 40px;
}

.description-block p.bold {
    font-weight: bold;
    margin-top:60px;
    margin-bottom: 0;
}

table .bold {
    font-weight:700;
}

@media(max-width: 600px) {  
    .novideo:after {
        border-width: 20px 0px 20px 35px;
        transform: translate(-15px, 50%);
    }

    .novideo:before {
        bottom: calc(50% - 35px);
        left: calc(50% - 35px);
        height:70px;
        width:70px;
    }
}

#overlay {
    height: 100vh;
    width: 100vw;
    background: radial-gradient(140.56% 486.75% at -40.56% -23.01%, #005BFF 0%, #FF3FC0 100%) , linear-gradient(12.97deg, rgba(0, 91, 255, 0) 13.99%, #005BFF 268.43%);
    z-index: 2;
    visibility: hidden;
    position: fixed;
    z-index: 1011;
}

#overlay.active {
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

#overlay ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding-left: 0;
    list-style-type: none;
    width: 100%;
}

#overlay ul li {
    padding: 1em;
    width: 100%;
    background: #00000029;
    margin-bottom: 6px;
}

#overlay ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
}
#overlay ul li a:hover {
    color: #333332;
}

#overlay-button {
    position: absolute;
    right: 1em;
    top: 0em;
    padding: 26px 11px;
    z-index: 5;
    cursor: pointer;
    user-select: none;
   
}

.overlay-logo {
    position: absolute;
    left: 1em;
    top: 5px;
    padding: 26px 11px;
    z-index: 5;
    cursor: pointer;
}

#overlay-button img {
     height: 50px;
}

#overlay-button span {
    height: 4px;
    width: 35px;
    border-radius: 2px;
    background-color: white;
    position: relative;
    display: block;
    transition: all 0.2s ease-in-out;
}

#overlay-button span:before {
    top: -10px;
    visibility: visible;
}

#overlay-button span:after {
    top: 10px;
}

#overlay-button span:before, #overlay-button span:after {
    height: 4px;
    width: 35px;
    border-radius: 2px;
    background-color: white;
    position: absolute;
    content: "";
    transition: all 0.2s ease-in-out;
}

#overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
    background: radial-gradient(140.56% 486.75% at -40.56% -23.01%, #005BFF 0%, #FF3FC0 100%) , linear-gradient(12.97deg, rgba(0, 91, 255, 0) 13.99%, #005BFF 268.43%);
}

#filters {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

#filters .filter {
    cursor: pointer;
    background: transparent;
    border: none;
    color: #000;
    font-family: 'Gilroy', sans-serif;
    line-height: 1;
    font-size: 1.4rem;
    padding: 15px 30px;
    border-bottom: 4px solid;
    border-image: grey 1;
    flex: 1;
    border-image: radial-gradient(140.56% 486.75% at -40.56% -23.01%, #e8e8e8 0%, #e8e8e8 100%) 1;
}

@media(max-width: 500px) {
    #filters .filter {
        flex-basis: 100%;
    }
}

#filters .filter.active {
    border-image: radial-gradient(140.56% 486.75% at -40.56% -23.01%, #005BFF 0%, #FF3FC0 100%) 1;
    font-weight: bold;
}

.sideblock h2 {
    margin-top: 40px;
    margin-bottom: 40px;
}

.sideblock .blog-card {
     margin-bottom: 40px;
}

.razdel {
    font-family: Gilroy;
    font-weight: 700;
    font-style: Bold;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 5%;
    text-transform: uppercase;
}

.articles-navigation .title {
    font-weight: bold;
    font-size: 1.2rem;
}

.articles-navigation .razdel, .articles-navigation .title,  .articles-navigation .author-name {
    margin-bottom: 10px;
}

.next-article {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

@media (min-width: 768px) {
    .next-article {
        justify-content: end;
        align-items: end;
        }
}

.articles-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.outline-black-btn {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    display: flex;
    align-items: center;
    border: 2px solid #000;
    width: fit-content;
    padding: 4px 10px;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 20px;
}

.share-link {
    background-color: #efeef3;
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    border-radius: 20px;
    flex-wrap: wrap;
}

.description-block {
    padding-right: 40px;
    flex: 1;
}

.description-block img {
    max-width: 100%;
    max-height: 600px;
}




@media(max-width: 868px) {
    .flex {
        flex-wrap: wrap;
    }

    .description-block {
        margin-bottom: 40px;
        padding-right: 0px;
    }
}

.breadcrumbs-section {
    padding-left: 30px;
    padding-right: 30px;
}

@media(max-width: 500px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        aspect-ratio: auto;
    }

    .trending-section {
        padding: 0 30px 60px 30px;
    }
}
    

.gradient-bg-purple {
    background: radial-gradient(140.56% 486.75% at -40.56% -23.01%, #005BFF 0%, #FF3FC0 100%) , linear-gradient(12.97deg, rgba(0, 91, 255, 0) 13.99%, #005BFF 268.43%);
    color: #fff;
    border-radius: 20px;
    margin-bottom: 20px;
    padding: 20px;
}

.sideblock {
    width: 100%;
}

.sideblock .course-badge,.sideblock .course-time, .sideblock .price-current {
    color: #fff;
}

.sideblock .course-time img {
    filter: invert();
}

.sideblock > p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.sideblock .buttons {
    display: flex;
    gap:20px;
    margin-bottom: 60px;
}

.sideblock .btn-gray {
    padding:10px;
    flex-basis: 40%;
}

.sideblock .btn-gradient-border, .cart-item .btn-gradient-border, .mylessons .btn-gradient-border {
    background: none;
    background: 
    linear-gradient(#fff 0 0) padding-box,
    radial-gradient(140.56% 486.75% at -40.56% -23.01%, #005BFF 0%, #FF3FC0 100%) border-box;
    color: #313149;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 18px 35px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    flex-basis: 40%;
}



.authorship {
    margin-bottom: 40px;
    margin-top: 40px;
}

.authorship h6 {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.authorship img, .authorship-item img {
    height: 24px;
}

.authorship-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    width: 100%;
    gap: 10px;
}

.kursy .authorship-item {
    justify-content: flex-start;
}

.authorship-item span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.courses-section .lessons-title {
    padding-left: 25px;
    width: 100%;
}

.lesson-section__wrapper {
    display: flex;
}

@media(max-width: 1100px) {
    .lesson-section__wrapper {
        flex-wrap: wrap;
    }
}

@media(min-width: 1101px) {
      .sideblock {
        width: 410px;
    }
    
    .bonus .sideblock {
        width: 500px;
    }
    
    .bonus .sideblock .authorship-item span {
        margin-left: 20px;
    }
}

.description-block ul {
    columns: 2;
}

@media(max-width: 600px) {
    .description-block ul {
        columns: 1;
    }
}

.course-detail .courses-grid {
    grid-template-columns: repeat(2, 1fr);
}

.breadcrumb-section.section {
    padding: 0;
}

.courses-list {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(3, 1fr);
}

.blog-card {
    min-height: 200px;
}

.kursy-spisok .courses-list {
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

@media(max-width: 1200px) {
    .courses-list {
    grid-template-columns: 1fr;
    }

    .kursy-spisok .courses-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .courses-list .authorship-item {
        font-size: 0.8rem;
    }
}

/* Кнопка "Наверх" */
#scrollToTopBtn {
    display: none; /* Скрыта по умолчанию */
    position: fixed; /* Фиксированная позиция */
    bottom: 40px;    /* Отступ снизу */
    right: 40px;     /* Отступ справа */
    z-index: 999;     /* Поверх всего контента */
    border: none;
    outline: none;
    background: linear-gradient(90deg, rgba(0, 91, 255, 1) 0%, rgba(255, 63, 192, 1) 100%);
    color: white;           /* Белая стрелка */
    cursor: pointer;
    padding: 15px;          /* Внутренние отступы */
    border-radius: 10px;    /* Скругление углов */
    font-size: 18px;        /* Размер стрелки */
    width: 60px;
    height: 60px;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, opacity 0.3s; /* Плавное появление */
}

#scrollToTopBtn:hover {
    background-color: #333; /* Темнее при наведении */
}


.about-outlined {
border: 2px solid #000;
  border-radius: 15px;
  padding: 20px;
  align-items: center;
  display: flex;
  gap: 40px;
  justify-content: center;
  font-weight: bold;
}

.about-icons-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.about-icons-wrapper img {
    max-height: 50px;
    max-width: 50px;
    width: 50px;
    height: 100%;
    object-fit: contain;
}

.about-icons-wrapper {
    display: flex;
}

.about-item {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 20px;
}

.about-work-title {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 400;
}

.about-item-img-wrapper {
    border-radius: 15px;
    background: rgba(239, 238, 243, 1);
    padding: 15px;
    width: 80px;
    height: 80px;
}

.about-section {
    margin-bottom: 80px;
}

.about-item-text-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: fit-content;
}

.about-item-text-wrapper p {
    margin-bottom: 0;
    margin-top: 6px;
}

.about-item-text-wrapper > * {
    width: 100%;
}

.icon-column {
    flex-basis: 100%;
}

@media(min-width: 900px) {
    .icon-column {
    flex-basis: calc(50% - 20px);
    }
}

.about-icons-wrapper {
    margin-bottom: 40px;
}

.about-sidebar-title {
    margin-bottom: 20px;
    font-size: 2.4rem;
    font-weight: 400;
    margin-top: 80px;
}

.sideblock.sideblock-about .course-badge, .sideblock.sideblock-about .course-time, .sideblock.sideblock-about .price-current {
    color: #000;
}

.more-lessons-btn {
    text-align: center;
    margin-top: 40px;
}

.select-subscription {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5' fill='none' stroke='%23313149' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
    padding: 12px 44px 12px 14px;
    border: 1px solid #d4deeb;
    width: 100%;
    margin-top: 10px;
    border-radius: 14px;
    font-size: 16px;
    line-height: 1.2;
    color: #313149;
}

.select-subscription:focus {
    outline: none;
    border-color: rgba(0, 91, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(0, 91, 255, 0.12);
}

.author-pic {
    max-width: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.author-numbers.about-item-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 80px;
}

.author-numbers p {
    margin-bottom: 0;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
}

.about-icons-wrapper.author-numbers-wrapper {
    gap: 0;
}

.author-videos {
    margin-top: 60px;
}

.feedback-item {
box-shadow: 0px 1px 20px 2px rgba(0, 0, 0, 0.1);
padding: 20px;
border-radius: 20px;
display: flex;
flex-direction: column;
}
.feedback-item .feedback-username {
    margin-bottom: 20px;
}

.feedback-item .feedback-date {
    margin-top: auto;
}

.feedback-item .feedback-username span {
    margin-left: 10px;
    font-weight: 700;
}

.feedback-item .feedback-text {
    width: 100%;
    margin-bottom: 20px;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media(max-width: 1200px) {
    .feedback-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media(max-width: 768px) {
    .feedback-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

.textarea-gray {
    background: var(--color-bg-light);
    border-radius: 20px;
    border: none;
    width: 100%;
    padding: 20px;
    margin-top: 10px;
}

.feedback-form sup {
    color: red;
    font-size: 1rem;
}

.feedback-form label {
    padding-bottom: 10px;
}

.feedback-desc {
    margin-bottom: 40px;
}

.feedback-form sub {
    width: 100%;
    display: block;
    margin-top: 10px;
    margin-bottom: 40px;
}

.btn-telegram svg path {
    stroke: #000;
}

.feedback-form {
    margin-bottom: 40px;
}

#filters .filter a {
    color: inherit;
    text-decoration: none;
}

#filters .filter a {
    display: flex;
    justify-content: center;
    align-items: center;
}

#filters .filter a  img {
    width: 24px;
    object-fit: contain;
    margin-right: 10px;
}

.lk-courses {
    margin-top: 40px;
}

.edit-buttons button {
background-color: transparent;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  border: 2px solid #000;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  gap: 8px;
}

.edit-buttons button img {
    object-fit: contain;
    width: 24px;
    cursor: pointer;
}

.edit-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    position: absolute;
    width: 100%;
}

.course-wrapper {
    margin-bottom: 100px;
    position: relative;
}

.edit-buttons button.edit {
    flex: 1;
}
.courses-grid.lk-courses {
    grid-template-columns: repeat(5, 1fr);
}

@media(max-width: 1440px) {
.courses-grid.lk-courses {
    grid-template-columns: repeat(4, 1fr);
}
    
}

@media(max-width: 1166px) {
.courses-grid.lk-courses {
    grid-template-columns: repeat(2, 1fr);
}
    
}


@media(max-width: 600px) {
.courses-grid.lk-courses {
    grid-template-columns: repeat(2, 1fr);
}

.edit-button-text {
    display: none;
}


.edit-buttons button {
    flex: 1;
}
    
}
.add-lesson {
    border: 2px solid #000;
      border-radius: 15px;
      height: 100%;
      display: flex;
cursor: pointer;
      align-items: center;
  justify-content: center;
  min-height: 400px;
}

.add-lesson p {
    font-size: 1.4rem;
    font-weight: bold;
}

 p.plus {
    font-size: 5rem;
  font-weight: 100;
  line-height: 0.5;
}

.add-article-btn p.plus {
    font-size: 3rem;
}

.add-article-btn {
    gap: 8px;
    width: 100%;
    margin-bottom: 0px;
}

.lk-descr {
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

img.icon-social {
	object-fit: contain;
	width: 40px;
	margin-right: 10px;
	cursor: pointer;
}

.cart-wrapper {
    display: flex;
}

.cart-items {
    width: 100%;
    margin-right: 40px;
}

.gradient-bg-purple hr {
    margin: 20px 0;
    color: #fff;
}



.gradient-bg-purple .bold {
    font-weight: 600;
}

.gradient-bg-purple .lessons-count {
    text-transform: uppercase;
    font-weight: 600;
}
.sidebar-text h6 {
     font-weight: 600;
}

.sidebar-text > p {
      margin: 10px 0;
      font-weight: 600;
}

.sidebar-text label {
    font-weight: 600;
}

.sidebar-text .gradient-text {
    font-weight: 600;
    font-size: 30px;
  line-height: 1.209;

}

     /* Customize the label (the container) */
.checkbox-wrapper {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  padding-top: 3px;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkbox-wrapper.check-all {
     font-size: 16px;
}

/* Hide the browser's default checkbox */
.checkbox-wrapper input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: transparent;
  border: 3px solid rgb(189, 189, 189);
  border-radius: 5px 5px 0 0;
}

/* On mouse-over, add a grey background color */
.checkbox-wrapper:hover input ~ .checkmark {
  background-color: transparent;
  border: 3px solid rgb(189, 189, 189);
  border-radius: 5px 5px 0 0;
}

/* When the checkbox is checked, add a blue background */
.checkbox-wrapper input:checked ~ .checkmark {
  background-color: transparent;
  border: 3px solid rgb(189, 189, 189);
  border-radius: 5px 5px 0 0;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-wrapper input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-wrapper .checkmark::after {
  left: 1px;
  top: 4px;
  width: 18px;
  height: 18px;
  background-image: url(/local/templates/leveno/images/icons/check.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.sideblock .lk-checkout-btn {
    width: 100%;
    padding: 20px;
}
.lk-checkout-btn img {
    height: 24px;
}

.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    margin-bottom: 40px;
}

.cart-item .course-info {
    padding: 0;
    width:100%;
    margin-right: 20px;
}

.cart-item-card {
    display: flex;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

.cart-item-card img.card-item-img {
    aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px 0 0 20px;
  max-width: 200px;
}

.cart-item-btns {
    margin-right: 0;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    flex:0;
    justify-content: space-between;
    align-items: flex-end;
}

.cart-item .btn-gradient-border {
    flex: 0;
}

.trash-btn {
    height: 24px;
    cursor: pointer;
}

.mylessons .btn-all-courses {
    margin-top: 40px;
}


.trash-btn img {
    max-height: 100%;
}

.cart-item-card__info {
    display: flex;
    width: 100%;
    padding: 20px;
}

.cart-item .in-favourites, .mylessons .in-favourites {
    border: none;
    background: linear-gradient(90deg, rgba(0, 91, 255, 1) 0%, rgba(255, 63, 192, 1) 100%);
}

.mylessons .buttons {
    margin-top: 20px;
}

@media(max-width: 1060px) {
    .cart-wrapper {
        flex-wrap: wrap;
    }
    
    .cart-items {
        margin-right: 0;
    }
}

@media(max-width: 600px) {
    .cart-item-card {
        flex-direction: column;
    }
    
    .cart-item {
        align-items: flex-start;
    }
    
    .cart-item-card__info {
        flex-wrap: wrap;
    }
    
    .cart-item-btns {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex:1;
    }
    
    .cart-item-card img.card-item-img {
        max-width: unset;
        max-height: 200px;
        border-radius: 20px 20px 0 0;
    }
}

.feedback-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feedback-bottom .feedback-date {
    margin-top:unset;
}

.feedback-bottom .gradient-text{
    font-weight: 600;
}

.feedback-delete-icon {
    height: 24px;
    object-fit: contain;
    cursor:pointer;
}

.feedback-cancelled .feedback-date {
    font-weight: 600;
}

.feedback-cancelled > * {
    filter: opacity(.6);
}

.wide-element {
    grid-column: span 2;
}

.wide-element .course-info {
  flex-direction: row;
  gap: 20px;
  flex-wrap: nowrap;
}



.btn-gradient-border-green {
    padding: 18px 35px;
  border-radius: 15px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.3s;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
    border: 2px solid transparent;
    color: #000;
    background: linear-gradient(#fff 0 0) padding-box, radial-gradient(circle at 0% 21%, rgb(0, 201, 221) 0%, rgb(209, 240, 0) 88%) border-box;

    
}

.btn-gradient-border-green:hover {
    transform: translateY(-2px);
}

.bonuses-block {
    width: 100%;

}
@media(min-width:1061px) {
    .bonuses-block {
       margin-right: 20px;
}
} 

@media(max-width: 700px) {
    .bonuses-table__wrapper {
    overflow-x:scroll;
    scrollbar-width: thin;
}
}

.bonuses-total {
    width: fit-content;
    font-weight: 600;
    font-size: 3.3rem;
    margin-top: 10px;
     margin-bottom: 40px;
}



.bonuses-table {
    margin-top: 20px;
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.bonuses-table thead tr {
    border-bottom: 2px solid rgba(189, 189, 189, 1);

}

.bonuses-table thead td {
    color: rgba(189, 189, 189, 1);
    font-weight: 700;

}

.bonus-transaction, .bonus-amount {
    font-weight: 700;
}

.bonus-amount {
    font-size: 1.5rem;
}

.bonus-expire span {
    display: block;
    font-weight: 700;
    color: rgba(255, 63, 192, 1);
}

.bonus-amount div {
    width: fit-content;
}

.bonus-amount .gray-text {
        color: rgba(189, 189, 189, 1);
}

.bonuses-table td {
    padding: 30px 10px 30px 0;
}

.personal .outline-black-btn {
    background: none;
    padding: 20px;
    margin-top:20px;
    font-size: 20px;
  border-radius: 15px;
  cursor: pointer;
  font-family: 'Gilroy', sans-serif;

}

.master-docs .document-title {
    font-size: 1.6rem;
}

.master-docs .document-text {
  padding: 0 25px;
}

.personal .document .outline-black-btn {
     gap: 7px;
     padding: 8px 16px;
}

.personal .sideblock > * {
    width: 100%;
}

.lk-form-title {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.lk-form-title.personal-title {
    margin-top: 40px;
    margin-bottom: 40px;
}

.personal-form {
    margin-bottom: 60px;
}

.access-types {
    display: flex;
    gap: 20px;
}

.access-type {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 2px solid rgba(43, 43, 43, 1);
    border-radius: 15px;
    flex-grow: 1;
    cursor: pointer;
}

.access-type.selected {
    background-color: rgba(43, 43, 43, 1);
    color: #fff;
}

.access-type.selected .access-type__text {
    color: #fff;
}

.access-type__text {
    font-size: 0.8rem;
    color: rgba(43, 43, 43, 1);
}


.access-type__name {
    font-weight: 700;
    font-size: 1.2rem;
}

.access-type img {
    height: 24px;
    width: 24px;
    object-fit: contain;
}

.form {
    margin-top: 40px;
}

.form sup {
    color: red;
    font-size: 16px;
}

.form label {
    display: flex;
    margin-bottom: 10px;
}

.form input, .form textarea {
    width: 100%;
  border-radius: 15px;
  border: none;
  background: #EFEEF3;
  padding: 24px 30px;
  font-family: inherit;
  font-size: 16px;
}

.form textarea {
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-field {
    flex-basis: 50%;
}

@media(max-width: 500px) {
    .form-row .form-field {
        flex-basis: 100%;
    }
    
    .access-types, .form-row {
        flex-wrap: wrap;
    }
}

.form-field {
    margin-bottom: 20px;
    flex-grow: 1;
    position: relative;
}

.input-description {
    margin-top: 10px;
    font-size: 12px;
}

.pass-input__wrapper {
    position: relative;
}

.show-pass__status {
    position: absolute;
    cursor: pointer;
    top: calc(50% - 8px);
    right: 20px;
    height: 16px;
    width: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image:url(/local/templates/leveno/images/icons/eye.svg);
}

.show-pass__status.hide {
    background-image:url(/local/templates/leveno/images/icons/eye-slash.svg);
}

.document {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.document-preview {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    background-color: rgb(234, 233, 238);
    border-radius: 15px;
    background-size: cover;
    position: relative;
    max-width: 1000px;
}

.document-preview:before {
    background-color:rgba(255, 63, 192, 0.15);
    position: absolute;
    height: 100%;
    width: 100%;
    content:'';
    border-radius: 15px;
}

.document-text {
    padding: 40px;
}

.document-title {
    margin-bottom: 20px;
}

.document-text__item {
    margin-bottom: 20px;
}

@media(max-width: 800px) {
    .document {
        flex-wrap: wrap;
    }
    
    .document-text {
        padding: 0;
    }
}

.wallet .bonuses-table {
    margin-bottom: 40px;
}

.author-photo .photo {
    aspect-ratio: 3/4;
    background-color:rgba(237, 239, 243, 1);
    max-width: 200px;
    width: 100%;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
}

.author-photo {
    display: flex;
    align-items: center;
    
}

.author-photo-download {
    padding: 40px;
}

.author-photo-download p {
    font-style: italic;
    margin-bottom: 20px;
}

@media(max-width: 760px) {
    .author-photo-download {
        padding: 20px 0;
        
    }
    
    .author-photo {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.author-photo.article-photo .photo {
    aspect-ratio: 3/2;
    width: 100%;
  max-width: 400px;
}

.article-photo {
    margin-bottom: 20px;
}

.form-select {
   padding: 24px 30px;
    border: 1px solid lightgray;
    width: 100%;
    border-radius: 10px;
}

.added-articles {
    margin: 80px 0;
}

.blog-card.add-lesson {
    flex-direction: column;
    align-items: center;
}

.blog-card.add-lesson p {
    text-align: center;
}

/* lk-cabinet-mobile-fix: master cabinet grids + edit buttons on narrow screens */
@media (max-width: 640px) {
    .courses-grid.lk-courses,
    .courses-grid.lk-courses.master-lessons-grid,
    .courses-grid.lk-courses.master-articles-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
        padding-left: 0;
        padding-right: 0;
    }

    .courses-grid.lk-courses .course-wrapper {
        margin-bottom: 20px;
        padding-bottom: 0;
    }

    .courses-grid.lk-courses.master-lessons-grid .course-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .courses-grid.lk-courses .edit-buttons {
        position: static !important;
        margin-top: 12px;
        width: 100%;
        flex-shrink: 0;
    }

    .courses-grid.lk-courses .course-card,
    .courses-grid.lk-courses.master-lessons-grid .course-card {
        min-height: 0;
        height: auto !important;
    }

    .courses-grid.lk-courses.master-lessons-grid .course {
        display: flex;
        flex-direction: column;
        min-height: 0;
        height: auto;
    }

    .courses-grid.lk-courses.master-lessons-grid .course-info {
        height: auto !important;
        flex-grow: 0;
        flex-wrap: nowrap;
    }

    .courses-grid.lk-courses.master-lessons-grid .course-image {
        width: 100%;
        max-width: 100%;
    }

    .master-lessons-grid .add-lesson,
    .courses-grid.lk-courses .add-lesson {
        min-height: 220px;
    }
}

/* cabinet-nav-grid-mobile: override #filters flex-basis 100% + lesson grid width */
@media (max-width: 767px) {
    #filters.clearfix2 .filter {
        flex: 0 0 auto !important;
        flex-basis: auto !important;
    }
    .section.lk .courses-grid.lk-courses.master-lessons-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding-left: 12px;
        padding-right: 12px;
    }
}


/* lk-cabinet-global-mobile-v1: общие ограничения ширины для /cabinet/* */
@media (max-width: 991px) {
    .section.lk {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: clamp(8px, 3.6vw, 20px);
        padding-right: clamp(8px, 3.6vw, 20px);
        overflow-x: clip;
    }

    .section.lk > .container,
    .section.lk .container:not(#contract-content) {
        max-width: 100%;
        box-sizing: border-box;
    }

    .section.lk [class*="col-"] {
        min-width: 0;
        max-width: 100%;
    }

    .section.lk .form-control,
    .section.lk textarea,
    .section.lk select,
    .section.lk .form-select {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .section.lk .list-group-item,
    .section.lk .card,
    .section.lk .cabinet-admin-panel-card {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .section.lk .cabinet-doc-page,
    .section.lk .cabinet-page-block,
    .section.lk .cabinet-profile-page {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .section.lk a {
        overflow-wrap: anywhere;
    }

    .section.lk table {
        max-width: 100%;
    }
}
/* lk-cabinet-articles-shell-mobile */
@media (max-width: 991px) {
    .section.lk.master-articles-view .article-editor-shell,
    .section.lk.master-articles-view #sellerArticleDetail.lesson-detail-view {
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .section.lk.master-articles-view .article-images-row {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* cart-bonus-input-leveno */
.sideblock .sidebar-text .cart-bonus-input.input-bonus,
.sideblock .sidebar-text input.cart-bonus-input {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 16px 18px;
    border: 1px solid #efedf6;
    border-radius: 16px;
    background: #f4f2fa;
    font-size: 16px;
    line-height: 1.25;
    color: #1f1f1f;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.sideblock .sidebar-text .cart-bonus-input::placeholder {
    color: #b3afc0;
    opacity: 1;
}
.sideblock .sidebar-text .cart-bonus-input:focus {
    outline: none;
    border-color: #d9d4ea;
    background: #faf8ff;
    box-shadow: 0 0 0 3px rgba(135, 110, 255, 0.14);
}
@media (max-width: 767px) {
    .sideblock .sidebar-text .cart-bonus-input.input-bonus,
    .sideblock .sidebar-text input.cart-bonus-input {
        font-size: 15px;
        padding: 14px 16px;
    }
}



/* lesson-review-cta: кнопка «Написать отзыв» на оплаченном уроке (сайдбар) */
.sideblock .buttons--lesson-paid {
    align-items: center;
}

.sideblock .lesson-paid-cell {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sideblock .lesson-paid-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    width: 100%;
}

.sideblock .lesson-paid-actions__status {
    flex: 1 1 180px;
    min-width: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: 1rem;
    line-height: 1.45;
    color: #1a1a1a;
}

.sideblock .lesson-review-cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    background: #222;
    color: #fff !important;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    padding: 14px 24px;
    border-radius: 20px;
    box-sizing: border-box;
    transition: background 0.2s ease, transform 0.15s ease;
    border: none;
    cursor: pointer;
}

.sideblock .lesson-review-cta:hover {
    background: #1a1a1a;
    color: #fff !important;
}

.sideblock .lesson-review-cta:focus-visible {
    outline: 2px solid #5b56e0;
    outline-offset: 3px;
}

.sideblock .lesson-review-note {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #4e5f78;
}

.sideblock .lesson-review-note a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 576px) {
    .sideblock .lesson-paid-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sideblock .lesson-review-cta {
        width: 100%;
        max-width: 280px;
    }
}


/* Уточнение сетки для оплаченного урока (не растягиваем избранное) */
.sideblock .lesson-paid-actions {
    flex-direction: column;
    align-items: stretch;
}

.sideblock .lesson-paid-actions__buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sideblock .buttons--lesson-paid .btn-favorites {
    flex: 0 0 auto;
    padding: 18px 26px;
    min-width: 140px;
    border-radius: 20px;
}

.sideblock .buttons--lesson-paid .btn-favorites img {
    width: 26px;
    height: 26px;
}

@media (max-width: 576px) {
    .sideblock .lesson-paid-actions__buttons {
        width: 100%;
    }

    .sideblock .buttons--lesson-paid .btn-favorites {
        min-width: 0;
        width: 100%;
    }
}
/* lk-bought-favorites-card-actions: кабинет «Мои уроки» / избранное — статус «Куплен…» + сердце в узкой сетке */
@media (max-width: 900px) {
    .section.lk .courses-grid .buttons {
        align-items: flex-start;
        gap: 8px;
    }

    .section.lk .courses-grid .btn-gradient-border-green {
        flex: 1 1 0;
        min-width: 0;
        font-size: 12px;
        padding: 10px 10px;
        line-height: 1.25;
        text-align: center;
    }

    .section.lk .courses-grid .buttons .header-icon-btn.btn-favorites {
        flex: 0 0 44px;
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .section.lk .courses-grid .buttons .header-icon-btn.btn-favorites img {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 560px) {
    .section.lk .courses-grid {
        grid-template-columns: 1fr !important;
    }

    .section.lk .courses-grid .wide-element {
        grid-column: span 1;
    }

    .section.lk .courses-grid .btn-gradient-border-green {
        font-size: 11px;
        padding: 9px 8px;
    }
}

/* leveno-topup-pending LK */
.leveno-topup-pending { margin: 0 0 28px; padding: 20px; border-radius: 16px; background: #fff8e6; border: 1px solid #f0d78c; }
.leveno-topup-pending__title { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.leveno-topup-pending__lead { margin: 0 0 16px; color: #5c4a00; font-size: 14px; line-height: 1.45; }
.leveno-topup-pending__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.leveno-topup-pending__card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #fff; border-radius: 12px; border: 1px solid #efedf6; }
.leveno-topup-pending__lesson-name { margin: 0 0 6px; font-size: 16px; }
.leveno-topup-pending__lesson-name a { color: inherit; text-decoration: underline; }
.leveno-topup-pending__meta, .leveno-topup-pending__sum { margin: 0; font-size: 14px; color: #444; }
.leveno-topup-pending__btn { display: inline-block; padding: 10px 18px; border-radius: 10px; border: none; cursor: pointer; font-size: 15px; color: #fff; text-decoration: none;
    background: linear-gradient(90deg, rgba(0,91,255,1), rgba(138,43,226,1), rgba(255,63,192,1)); }
.leveno-topup-pending__btn:disabled { opacity: 0.6; cursor: not-allowed; }
@media (max-width: 640px) {
    .leveno-topup-pending__card { flex-direction: column; align-items: flex-start; }
    .leveno-topup-pending__btn { width: 100%; text-align: center; }
}


/* leveno-partial-payment */
.leveno-partial-pay { margin-top: 12px; padding: 12px; border-radius: 12px; background: #f4f2fa; border: 1px solid #efedf6; }
.leveno-partial-pay__title { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.leveno-partial-pay__option { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 14px; cursor: pointer; }
.leveno-partial-pay__hint { margin: 8px 0 0; font-size: 13px; color: #666; }

.leveno-catalog-partial-hint{display:block;margin-top:4px;font-size:12px;color:#6f6a80;}


/* ===== Красивое детальное описание урока ===== */
.lesson-detail-text {
    margin-top: 28px;
    background: #F7F8FA;
    border: 1px solid #ECEDF1;
    border-radius: 20px;
    padding: 28px 32px;
    font-family: "Gilroy", sans-serif;
    color: #2C2C2C;
    font-size: 16px;
    line-height: 1.7;
}
.lesson-detail-text__title {
    font-family: "Gilroy", sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
    color: #1A1A1A;
    margin: 0 0 18px;
}
.lesson-detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 32px;
}
.lesson-detail-list li {
    position: relative;
    padding-left: 30px;
    font-size: 16px;
    line-height: 1.45;
}
.lesson-detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: radial-gradient(circle at 0% 21%, #00C9DD 0%, #D1F000 88%);
}
.lesson-detail-list li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 7px;
    height: 4px;
    border-left: 2px solid #1A1A1A;
    border-bottom: 2px solid #1A1A1A;
    transform: rotate(-45deg);
}
.lesson-detail-text p { margin: 0 0 12px; }
.lesson-detail-text p:last-child { margin-bottom: 0; }
.lesson-detail-text ul:not(.lesson-detail-list):not(.lesson-detail-bullets),
.lesson-detail-text ol { padding-left: 22px; margin: 0 0 12px; column-count: 1 !important; columns: auto !important; }
.lesson-detail-text ul:not(.lesson-detail-list) li,
.lesson-detail-text ol li { margin-bottom: 6px; line-height: 1.55; }
.lesson-detail-text strong { color: #1A1A1A; font-weight: 700; }
/* Подзаголовки внутри описания (из абзацев "Заголовок:" / вопросов) */
.lesson-detail-text__sub {
    font-family: "Gilroy", sans-serif;
    font-weight: 700 !important;
    font-size: 18px;
    line-height: 1.35;
    color: #1A1A1A;
    margin: 24px 0 12px;
}
.lesson-detail-text__sub:first-child { margin-top: 0; }
/* Аккуратный список-буллеты (напр. "Необходимые материалы") */
.lesson-detail-bullets {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 28px;
}
.lesson-detail-bullets li {
    position: relative;
    padding-left: 20px;
    font-size: 15.5px;
    line-height: 1.5;
    color: #2C2C2C;
}
.lesson-detail-bullets li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00C9DD 0%, #D1F000 100%);
}
@media (max-width: 768px) {
    .lesson-detail-text { padding: 20px; }
    .lesson-detail-list { grid-template-columns: 1fr; gap: 10px; }
    .lesson-detail-bullets { grid-template-columns: 1fr; gap: 8px; }
    .lesson-detail-text__title { font-size: 20px; }
}


/* ===== Красивый интро-текст на /about/ ===== */
.about-section .about-intro {
    max-width: 920px;
}
.about-section .about-intro p {
    width: 100%;
    font-family: "Gilroy", sans-serif;
    font-size: 18px;
    line-height: 1.75;
    color: #3A3A3A;
    margin: 0 0 22px;
}
.about-section .about-intro p:first-child {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 14px;
}
.about-section .about-intro p:nth-child(2) {
    font-size: 21px;
    line-height: 1.35;
    font-weight: 600;
    color: #6a62e8;
    margin-bottom: 30px;
}
.about-section .about-intro p:last-child {
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .about-section .about-intro p { font-size: 16px; }
    .about-section .about-intro p:first-child { font-size: 26px; }
    .about-section .about-intro p:nth-child(2) { font-size: 18px; }
}


/* ===== Типографика статьи блога ===== */
.article-body {
    max-width: 100%;
    font-family: "Gilroy", sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: #2C2C2C;
}
.article-body > *:first-child { margin-top: 0; }
.article-body p { width: auto; margin: 0 0 18px; }
.article-body h2, .article-body h3, .article-body h4 {
    font-family: "Gilroy", sans-serif; font-weight: 700; color: #1A1A1A; line-height: 1.25;
    margin: 34px 0 14px;
}
.article-body h2 { font-size: 28px; }
.article-body h3 { font-size: 24px; }
.article-body h4 { font-size: 22px; }
.article-body h5, .article-body h6 { font-size: 19px; font-weight: 700; color: #1A1A1A; margin: 26px 0 10px; line-height: 1.3; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 2px; list-style: none; }
.article-body ul li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.article-body ul li::before {
    content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%;
    background: radial-gradient(circle at 0% 21%, #00C9DD 0%, #D1F000 88%);
}
.article-body ol { counter-reset: art; padding-left: 0; }
.article-body ol li { position: relative; padding-left: 36px; margin-bottom: 10px; counter-increment: art; }
.article-body ol li::before {
    content: counter(art); position: absolute; left: 0; top: 0; width: 26px; height: 26px;
    background: #f3f0fa; color: #6a62e8; border-radius: 50%; font-weight: 700; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}
.article-body strong, .article-body b { font-weight: 700; color: #1A1A1A; }
.article-body a { color: #6a62e8; text-decoration: underline; }
.article-body a:hover { color: #c52bff; }
.article-body img { max-width: 100%; height: auto; border-radius: 16px; display: block; margin: 22px 0; }
.article-body blockquote {
    margin: 22px 0; padding: 14px 22px; border-left: 4px solid #c52bff;
    background: #f7f5ff; border-radius: 12px; color: #3a3a3a;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid #ECEDF1; padding: 10px 14px; text-align: left; }
.article-body th { background: #F7F8FA; font-weight: 700; }
@media (max-width: 768px) {
    .article-body { font-size: 16px; }
    .article-body h2 { font-size: 24px; }
    .article-body h4 { font-size: 20px; }
    .article-body h5, .article-body h6 { font-size: 18px; }
}


@media (max-width: 768px) {
    #title-search {
        width: 100%;
        margin: 0;
        margin-top: 15px;
    }

    .header--scrolled .header-nav-wrapper {
        margin-bottom: 20px;
    }

    .header-search-wrapper {
        width: 100%;
    }

    .search-box {
        width: 100%;
    }
}

#sellerArticleDetail {
max-width: 1000px;
}
/* End */


/* Start:/local/templates/leveno/css/leveno-lesson-portrait.css?17794515346137*/
/**
 * Портретные карточки видеоуроков (3:4) — единый вид по всему сайту.
 * Контейнеру добавьте класс: leveno-lesson-portrait
 */

.leveno-lesson-portrait.courses-section,
.section.leveno-lesson-portrait.courses-section,
section.leveno-lesson-portrait.courses-section,
.courses-section-detail.leveno-lesson-portrait,
.trending-section.leveno-lesson-portrait {
    width: 100% !important;
    max-width: 1860px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}

.leveno-lesson-portrait .courses-grid,
.leveno-lesson-portrait.courses-grid,
#current-lessons-block.leveno-lesson-portrait {
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch !important;
}

.leveno-lesson-portrait .course-card,
.leveno-lesson-portrait .course-card--lesson,
.course-card--lesson {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.leveno-lesson-portrait .course-card .course,
.leveno-lesson-portrait .course-card--lesson .course,
.course-card--lesson .course {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 100% !important;
}

.leveno-lesson-portrait .course-card > a,
.leveno-lesson-portrait .course-card .course > a,
.course-card--lesson > a,
.course-card--lesson .course > a {
    display: block !important;
    flex: 0 0 auto !important;
    text-decoration: none !important;
}

.leveno-lesson-portrait .course-image,
.leveno-lesson-portrait .trending-image,
.course-card--lesson .course-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 3 / 4 !important;
    border-radius: 20px 20px 0 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.leveno-lesson-portrait .course-info,
.leveno-lesson-portrait .trending-info,
.course-card--lesson .course-info {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 14px 14px 16px !important;
    min-height: 158px !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap !important;
}

.leveno-lesson-portrait .course-meta,
.leveno-lesson-portrait .trending-meta {
    margin-bottom: 10px !important;
}

.leveno-lesson-portrait .course-title,
.leveno-lesson-portrait .trending-course-title,
.course-card--lesson .course-title {
    font-size: 16px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.5em !important;
}

.leveno-lesson-portrait .course-author,
.leveno-lesson-portrait .trending-author,
.course-card--lesson .course-author {
    font-size: 14px !important;
    margin-bottom: 10px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 1.25em !important;
}

.leveno-lesson-portrait .course-pricing,
.leveno-lesson-portrait .trending-price,
.course-card--lesson .course-pricing {
    margin-top: auto !important;
    padding-top: 4px !important;
}

/* Слайдер «в тренде» / популярные на деталке */
.leveno-lesson-portrait.trending-section .trending-card.embla__slide,
.trending-section.leveno-lesson-portrait .trending-card.embla__slide {
    width: clamp(200px, calc((min(100vw, 1860px) - 160px) / 5), 340px) !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.leveno-lesson-portrait.trending-section .trending .embla__container,
.trending-section.leveno-lesson-portrait .trending .embla__container {
    gap: 20px !important;
}

.leveno-lesson-portrait #sectionFilterBlogsForm,
.leveno-lesson-portrait #filters {
    width: 100% !important;
    align-self: stretch !important;
}

/* Личный кабинет: избранное, купленные */
.section.lk .courses-grid.leveno-lesson-portrait,
.cabinet .courses-grid.leveno-lesson-portrait {
    width: 100% !important;
}

@media (max-width: 1200px) {
    .leveno-lesson-portrait .courses-grid,
    .leveno-lesson-portrait.courses-grid,
    #current-lessons-block.leveno-lesson-portrait {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .leveno-lesson-portrait.trending-section .trending-card.embla__slide,
    .trending-section.leveno-lesson-portrait .trending-card.embla__slide {
        width: clamp(180px, calc((100vw - 120px) / 4), 320px) !important;
    }
}

@media (max-width: 900px) {
    .leveno-lesson-portrait .courses-grid,
    .leveno-lesson-portrait.courses-grid,
    #current-lessons-block.leveno-lesson-portrait {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 10px !important;
        row-gap: 12px !important;
    }
    .leveno-lesson-portrait .course-info,
    .leveno-lesson-portrait .trending-info {
        padding: 12px 14px 14px !important;
        min-height: 150px !important;
    }
    .leveno-lesson-portrait .course-image,
    .leveno-lesson-portrait .trending-image {
        aspect-ratio: 3 / 4 !important;
        height: auto !important;
    }
    .leveno-lesson-portrait.trending-section .trending-card.embla__slide,
    .trending-section.leveno-lesson-portrait .trending-card.embla__slide {
        width: clamp(160px, calc((100vw - 60px) / 2.2), 280px) !important;
    }
}

/* End */


/* Start:/local/templates/leveno/components/bitrix/menu/main-top-mobile/style.min.css?1736079209906*/
.store-menu{display:block;padding-left:16px;padding-top:5px;margin:0 0 35px;width:100%;list-style:none}.store-menu-item{display:block;padding:0;margin:0}.store-menu-item-link{display:block;padding:13px 30px 12px 0;position:relative;border-top:1px solid rgba(255,255,255,0.1);font-style:normal;font-weight:normal;font-size:16px;line-height:25px;vertical-align:middle;opacity:.6;color:#fff}.store-menu-item.selected .store-menu-item-link,.store-menu-item-link:active,.store-menu-item-link:hover{opacity:1;color:#fff;text-decoration:none}.store-menu .store-menu-item:first-child .store-menu-item-link{border-top:0}.store-menu-item-link:after{content:'';display:block;border:1.5px solid rgba(255,255,255,0.3);border-bottom:0;border-left:0;width:9px;height:9px;position:absolute;right:20px;top:50%;transform:rotate(45deg) translateY(-50%)}.store-menu-item.selected .store-menu-item-link:after{border-color:#fff}
/* End */


/* Start:/local/templates/leveno/components/bitrix/menu/main-top/style.min.css?1736079209906*/
.store-menu{display:block;padding-left:16px;padding-top:5px;margin:0 0 35px;width:100%;list-style:none}.store-menu-item{display:block;padding:0;margin:0}.store-menu-item-link{display:block;padding:13px 30px 12px 0;position:relative;border-top:1px solid rgba(255,255,255,0.1);font-style:normal;font-weight:normal;font-size:16px;line-height:25px;vertical-align:middle;opacity:.6;color:#fff}.store-menu-item.selected .store-menu-item-link,.store-menu-item-link:active,.store-menu-item-link:hover{opacity:1;color:#fff;text-decoration:none}.store-menu .store-menu-item:first-child .store-menu-item-link{border-top:0}.store-menu-item-link:after{content:'';display:block;border:1.5px solid rgba(255,255,255,0.3);border-bottom:0;border-left:0;width:9px;height:9px;position:absolute;right:20px;top:50%;transform:rotate(45deg) translateY(-50%)}.store-menu-item.selected .store-menu-item-link:after{border-color:#fff}
/* End */


/* Start:/local/templates/leveno/components/bitrix/sale.basket.basket.line/top-basket/style.css?17652035584969*/
.bx-basket { }

.bx-basket-block {
	margin: auto;
	position: relative;
	padding-bottom: 5px;
	padding-left: 20px;
	white-space: nowrap;
	font-size: 12px;
}

.bx-basket-block > .fa {
	position: absolute;
	top: 3px;
	left: 0;
	width: 12px;
	color: #97a1ab;
}

.bx-basket-block a { margin-right: 10px; }

/*FIXED BASKET*/

@media (min-width: 768px) {
	.bx-basket-fixed {
		position: fixed;
		z-index: 100;
		overflow: hidden;
		padding-top: 10px;
		width: 200px;
		border: 1px solid #f0f0f0;
		border-radius: 1px;
		background: #fff;
		box-shadow: 0 7px 10px rgba(0, 0, 0, 0.15);
	}

	.bx-basket-fixed.top { top: 10px }

	.bx-basket-fixed.right { right: 10px }

	.bx-basket-fixed.bottom { bottom: 10px }

	.bx-basket-fixed.left { left: 10px }

	.bx-basket-fixed.bx-max-height { top: 10px; bottom: 10px; }

	.block-store-catalog-list .bx-basket-fixed.bottom { bottom: 140px }
	.block-store-catalog-list .bx-basket-fixed.left { left: 30px }
}

@media (min-width: 768px) and (width <= 992px) {
	.block-store-catalog-list .bx-basket-fixed.bottom { bottom: 140px }
	.block-store-catalog-list .bx-basket-fixed.left { left: 30px }
}

@media (max-width: 767px) {
	.bx-basket-fixed {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 100;
		overflow: hidden;
		padding-top: 10px;
		border: 1px solid #f0f0f0;
		border-radius: 1px;
		background: #fff;
		box-shadow: 0 7px 10px rgba(0, 0, 0, 0.15);
	}

	.bx-basket-item-list { display: none; }

	.block-wrapper .bx-basket-fixed {
		padding-top: 0;
	}

	.block-wrapper .bx-basket-fixed .bx-hdr-profile {
		display: flex;
		justify-content: space-between;
	}

	.block-wrapper .bx-basket-fixed .bx-hdr-profile .bx-basket-block {
		padding-bottom: 0;
	}

	/*.bx-basket-fixed */
}

.bx-basket-item-list {
	position: relative;
	overflow: hidden;
	padding-bottom: 20px;
	border-top: 1px solid #f7f7f7;
}

.bx-opener .bx-basket-item-list { padding-bottom: 75px; }

.bx-max-height .bx-basket-item-list {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
}

.bx-closed .bx-basket-item-list {
	overflow: hidden;
	height: 20px;
}

.bx-basket-item-list-action {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 120;
	padding: 3px 0;
	height: 20px;
	background: #f7f7f7;
	color: #4f4f4f;
	vertical-align: middle;
	text-align: center;
	font-size: 12px;
	line-height: 14px;
	cursor: pointer;
}

.bx-basket-item-list-button-container {
	position: absolute;
	right: 0;
	bottom: 20px;
	left: 0;
	padding: 10px 0;
	border-top: 1px solid #f7f7f7;
	background: #fff;
	text-align: center;
}

.bx-basket-item-list-container {
	overflow-y: auto;
	max-height: 100%
}

.bx-basket-item-list-item {
	position: relative;
	margin-bottom: 15px;
	padding-top: 15px;
	padding-right: 10px;
	padding-left: 10px;
	border-bottom: 1px solid #f7f7f7;
}

.bx-basket-item-list-container .bx-basket-item-list-item:last-child {
	margin-bottom: 0;
	border-bottom: none;
}

.bx-basket-item-list-item-status {
	margin: 0 10px 20px;
	padding: 3px;
	border-radius: 3px;
	background: #ebebeb;
	text-align: center;
	white-space: normal;
	font-weight: bold;
	font-size: 12px;
	line-height: 16px;
}

.bx-basket-item-list-item-img {
	position: relative;
	padding-bottom: 5px;
	text-align: center;
}

.bx-basket-item-list-item-img img {
	max-width: 90px;
	height: auto;
	border: 1px solid #e6e6e6;
}

.bx-basket-item-list-item-name { padding-bottom: 5px; }

.bx-basket-item-list-item-name a {
	font-size: 13px;
	line-height: 16px;
}

.bx-basket-item-list-item-remove {
	position: absolute;
	top: -7px;
	right: 10px;
	width: 20px;
	height: 20px;
	opacity: .5;
	cursor: pointer;
	transition: 250ms linear all;
}

.bx-basket-item-list-item-remove:after,
.bx-basket-item-list-item-remove:before {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 10px;
	height: 2px;
	border-radius: 1px;
	background-color: #333;
	content: '';
	transform: translate(-50%, -50%);
}

.bx-basket-item-list-item-remove:after {
	-webkit-transform: translate(-50%, -50%) rotate(45deg);
	-moz-transform: translate(-50%, -50%) rotate(45deg);
	-ms-transform: translate(-50%, -50%) rotate(45deg);
	-o-transform: translate(-50%, -50%) rotate(45deg);
	transform: translate(-50%, -50%) rotate(45deg);
}

.bx-basket-item-list-item-remove:before {
	-webkit-transform: translate(-50%, -50%) rotate(135deg);
	-moz-transform: translate(-50%, -50%) rotate(135deg);
	-ms-transform: translate(-50%, -50%) rotate(135deg);
	-o-transform: translate(-50%, -50%) rotate(135deg);
	transform: translate(-50%, -50%) rotate(135deg);
}

.bx-basket-item-list-item-remove:hover { opacity: .7; }

.bx-basket-item-list-item-price-block {
	padding-bottom: 5px;
	font-size: 12px;
}

.bx-basket-item-list-item-price {
	display: inline-block;
	margin-right: 5px;
}

.bx-basket-item-list-item-price-old {
	display: inline-block;
	margin-right: 5px;
	color: #b0b0b0;
	text-decoration: line-through
}

.bx_cart_login_top .bx-hdr-profile { line-height: 1.44em; }
#reload-cart {
    display: none;
}
/* End */


/* Start:/local/templates/leveno/components/bitrix/search.title/search-main/style.min.css?17801505042910*/
/* ===== Выпадающий поиск — оформление под стиль сайта ===== */
div.title-search-result {
    display: none;
    z-index: 1000;
    background: #ffffff;
    border: 1px solid #ECEDF1;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(20, 20, 40, 0.12);
    overflow: hidden;
    padding: 8px;
    margin-top: 8px;
    min-width: 420px;
    font-family: "Gilroy", sans-serif;
}

table.title-search-result {
    border-collapse: collapse;
    border: none;
    width: 100%;
}

/* служебная метка категории (k_news и т.п.) — скрыта */
table.title-search-result th {
    width: 0;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    font-size: 0;
    line-height: 0;
    color: transparent;
}

table.title-search-result td {
    background: transparent;
    color: #2C2C2C;
    font-weight: normal;
    padding: 0;
    text-align: left;
    white-space: normal;
    vertical-align: middle;
}

table.title-search-result td.title-search-item {
    padding: 0;
}

table.title-search-result td.title-search-item a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #2C2C2C;
    font-size: 15px;
    line-height: 1.35;
    transition: background .15s ease;
}

table.title-search-result td.title-search-item a:hover {
    background: #f3f0fa;
}

table.title-search-result td.title-search-item b {
    color: #c52bff;
    font-weight: 700;
}

table.title-search-result td.title-search-item img {
    vertical-align: middle;
    margin-right: 8px;
}

/* строка, выбранная стрелками клавиатуры */
table.title-search-result tr.title-search-selected td,
table.title-search-result tr.title-search-selected a,
table.title-search-result tr.title-search-selected td.title-search-more a {
    background: #f3f0fa !important;
    border-radius: 10px;
}

/* "остальные" */
table.title-search-result td.title-search-more {
    padding: 2px 14px 6px;
    font-size: 12px;
    color: #9a9aa5;
}
table.title-search-result td.title-search-more a {
    color: #9a9aa5;
    text-decoration: none;
}

/* разделитель */
table.title-search-result td.title-search-separator,
table.title-search-result th.title-search-separator {
    padding: 0;
    height: 1px;
    background: #F0F1F4;
    font-size: 0;
    line-height: 0;
}

/* "Все результаты" */
table.title-search-result td.title-search-all {
    padding: 2px 0 0;
    border-top: 1px solid #F0F1F4;
}
table.title-search-result td.title-search-all a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: #6a62e8;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
table.title-search-result td.title-search-all a:hover {
    background: #f3f0fa;
}

div.title-search-fader { display: none !important; }

/* End */
/* /local/templates/leveno/css/style.css?1783691685127657 */
/* /local/templates/leveno/css/leveno-lesson-portrait.css?17794515346137 */
/* /local/templates/leveno/components/bitrix/menu/main-top-mobile/style.min.css?1736079209906 */
/* /local/templates/leveno/components/bitrix/menu/main-top/style.min.css?1736079209906 */
/* /local/templates/leveno/components/bitrix/sale.basket.basket.line/top-basket/style.css?17652035584969 */
/* /local/templates/leveno/components/bitrix/search.title/search-main/style.min.css?17801505042910 */
