.profiles-section {
    width: 100%;
    padding: 0;
    background-color: #F6F8FA;
    margin-top:160px;
}

.profiles-section__container {
    max-width: 1866px;
    margin: 0 auto;
    padding-left: 285px;
    padding-right: 0;
    padding-top: 60px; 
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.profiles-section__header {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 870px;
}

.profiles-section__title {
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 500;
    font-size: 34px;
    line-height: 1.3em;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #353535;
    margin: 0;
}

.profiles-section__description {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4em;
    color: #353535;
    margin: 0;
}

.profiles-section__carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-right: 0;
}

.profiles-section__carousel-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to right, transparent, #F6F8FA);
    pointer-events: none;
    z-index: 1;
}

.profiles-section__carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.profiles-section__card {
    width:416px;
    min-width: calc(25% - 15px);
    flex-shrink: 0;
    background-color: #FFFFFF;
    border-radius: 14px;
    padding: 46px 20px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    box-sizing: border-box;
}

.profiles-section__banner {
margin-left:20px;
}

.profiles-section__banner-img {
    width: auto;
    height: auto;
    display: block;
}

.profiles-section__card-top {
    display: flex;
    align-items: flex-start;
    gap: 0px;
}

.profiles-section__card-image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profiles-section__card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.profiles-section__card-brand-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profiles-section__card-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 60px;
}

.profiles-section__brand-logo {
    max-width: 100%;
    object-fit: contain;
}

.profiles-section__rating {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: right;
}

.profiles-section__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px;
    margin-top:10px;
}

.profiles-section__feature {
    display: flex;
    align-items: center;
    gap: 4px;
}

.profiles-section__feature-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profiles-section__feature-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.profiles-section__feature-bar {
    flex: 1;
    height: 14px;
    background-color: #BFC8D0;
    border-radius: 50px;
    overflow: visible;
    position: relative;
}

.profiles-section__feature-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.profiles-section__feature-bar-slider {
    box-sizing: border-box;
    position: absolute;
    width: 34px;
    height: 14px;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    background: #FFFFFF;
    border-radius: 5px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profiles-section__feature-bar-value {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: 12px;
    line-height: 1.2em;
    color: #353535;
    white-space: nowrap;
    display: block;
}

.profiles-section__price-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top:38px;
}

.profiles-section__price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    flex: 1;
}

.profiles-section__price-label {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4em;
    color: #353535;
    text-transform: uppercase;
}

.profiles-section__price-value {
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.4em;
    color: #FF0000;
}

.profiles-section__button {
    padding: 20px 15px;
    background-color: #FFC600;
    border: none;
    border-radius: 6px;
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.0em;
    text-transform: uppercase;
    color: #ED1E79;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
}

.profiles-section__button-icon {
    position: absolute;
    top: 50%;
    left: -12px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.profiles-section__button:hover {
    background-color: #FFB300;

}

.profiles-section__button:active {
    transform: translateY(0);
}

.profiles-section__navigation {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    position: relative;
    z-index: 2;
    height: 55px;
    /* vertical-align: middle; */
    align-items: anchor-center;
    margin-right: 10px;
}

.profiles-section__nav-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;

    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.profiles-section__nav-button:hover {

}

.profiles-section__nav-button:active {

}

.profiles-section__nav-button:disabled {

}

.profiles-section__nav-icon {
    object-fit: contain;
}


/* Адаптивность */
@media (max-width: 1440px) {
    .profiles-section__container {
        padding-left: 120px;
    }
}

@media (max-width: 1024px) {
    .profiles-section__container {
        padding-left: 60px;
    }
    
    .profiles-section__title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .profiles-section__container {
        padding-left: 0px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .profiles-section__header{
        padding:0 20px;
    }
    
    .profiles-section__title {
        font-size: 24px;
    }
    
    .profiles-section__description {
        font-size: 14px;
    }
    
    .profiles-section__card {
        width:360px;
        padding: 20px;
    }
    .profiles-section__price-value {
        font-size:20px;
    }
    .profiles-section__carousel-wrapper{
        padding-left:20px;
    }
    .profiles-section__card-image {
        height: 150px;
    }
    .profiles-section__navigation{
        margin-right:20px;
    }
}

