/*@font-face {
    font-family: 'MuseoSansCyrillic';
    src: url("../fonts/MuseoSansCyrillic-900.woff2") format("woff2"), url("../fonts/MuseoSansCyrillic-900.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/Roboto-Regular.woff2") format("woff2"), url("../fonts/Roboto-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/Roboto-Bold.woff2") format("woff2"), url("../fonts/Roboto-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Corinthia';
    src: url("../fonts/Corinthia.woff2") format("woff2"), url("../fonts/Corinthia.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/Roboto-Light.woff2") format("woff2"), url("../fonts/Roboto-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
*/
@font-face {
    font-family: 'FUT';
    src: url("/local/templates/rock/fonts/FuturaNewLight-Reg.ttf");
    font-weight: 300;

}
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'FUT';
    font-weight: normal;
    min-width: 320px;
    overflow-x: hidden;
    position: relative;
    margin: 0;
}

a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
}

a:hover, a:focus, a:active {
    text-decoration: none;
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    line-height: normal;
}

ul {
    margin: 0;
    padding: 0;
}

input,
button,
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.c-container {
    width: 1170px;
    margin: auto;
    position: relative;
}

/* Header */
.header {
    background-color: #429eb6;
}

.header-wrapper,
.articles-top,
.products-list-drop-btn,
.reviews-top,
.header-bottom-right,
.header-bottom-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.main  .products-list-wrapper{
    margin-right: 20px;
}
.header-wrapper {
    padding: 8px 0;
}

.header-left {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.header-desc {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.1;
    color: #fff;
    margin-right: 20px;
}

.header-info {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.header-address {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 3px;
}

.header-address-text {
    font-size: 16px;
    color: #fff;
}

.header-address-info {
    margin-left: 10px;
}

.header-address-wrapper,
.header-phone-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border-left: 2px solid #57a9be;
    padding: 10px 0 10px 20px;
}


.header-address-wrapper {
    margin-right: 20px;
}

.header-phone {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 3px;
}

.header-phone-info {
    margin-left: 10px;
}

.header-phone-wrapper {
    margin-right: 40px;
}

.header-phone-2-wrapper {
    padding: 10px 0;
}

.header-working-hours {
    font-size: 14px;
    color: #fff;
}

.header-social-item {
    display: inline-block;
    margin-right: 10px;
}

.header-social-item:last-of-type {
    margin-right: 0;
}

.header-social-item-link {
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.header-social-item-link:hover {
    opacity: .6;
}

.header-mnu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    list-style: none;
}

.header-mnu-item {
    padding: 5px 33px;
    border-right: 2px solid #60b3c9;
}

.header-mnu-item:first-child {
    padding-left: 0;
}

.header-mnu-item:last-child {
    border: none;
}

.header-mnu-item-link {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.header-mnu-wrapper {
    background-color: #4caac2;
    padding: 10px 0;
}

.header-bottom {
    background-color: #fff;
    padding: 25px 0;
}


.header-bottom-right {
    width: 865px;
}

.header-logo {
    width: 280px;
    text-align: center;
    font-size: 46px;
    font-family: "MuseoSansCyrillic", sans-serif;
    color: #97547d;
    padding: 15px 0 10px;
}

.header-logo a {
    font-family: "MuseoSansCyrillic", sans-serif;
    color: #97547d;
    padding: 15px 0 10px;
}

.header-search {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 490px;
    height: 60px;
    background-color: #fff;
    border: 2px solid #efefef;
}

.header-search-input {
    width: 89%;
    height: 100%;
    background-color: transparent;
    padding: 0 20px;
    border: none;
    font: 18px 'FUT', sans-serif;
}

.header-search-btn {
    background-color: transparent;
    width: 11%;
    border: none;
    text-align: center;
    padding-right: 15px;
    cursor: pointer;
}

.header-enter {
    font-weight: bold;
    color: #545354;
    padding-right: 8px;
    margin-right: 8px;
    border-right: 2px solid #545354;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.header-enter:hover {
    color: #97547d;
}

.header-enter-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.header-registration {
    font-weight: bold;
    color: #545354;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;

}

.header-logout {
    font-weight: bold;
    color: #545354;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
    outline: none;
    border: none;
    background-color: transparent;
    font-family: 'FUT', sans-serif;
    cursor: pointer;
}

.header-registration:hover {
    color: #97547d;
}

.header-favorites {
    position: relative;
}

.header-favorites-value {
    font-weight: bold;
    color: #545354;
    position: absolute;
    top: -5px;
    right: -15px;
}

.toggle-nav {
    width: 28px;
    height: 20px;
    display: none;
}

.toggle-nav span:after, .toggle-nav span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
}

.toggle-nav span:after {
    top: 18px;
}

.toggle-nav span {
    position: relative;
    display: block;
}

.toggle-nav span, .toggle-nav span:after, .toggle-nav span:before {
    width: 100%;
    height: 2px;
    background-color: #fff;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    backface-visivility: hidden;
    border-radius: 2px;
}

.toggle-nav.on span {
    background-color: transparent;
}

.toggle-nav.on span:before {
    -webkit-transform: rotate(45deg) translate(-1px, 0);
    -ms-transform: rotate(45deg) translate(-1px, 0);
    transform: rotate(45deg) translate(-1px, 0);
}

.toggle-nav.on span:after {
    -webkit-transform: rotate(-45deg) translate(6px, -7px);
    -ms-transform: rotate(-45deg) translate(6px, -7px);
    transform: rotate(-45deg) translate(6px, -7px);
}

.mnu-item {
    display: block;
    margin-bottom: 10px;
}

.mnu-item:last-child {
    margin-bottom: 0;
}

.mnu-wrapper {
    background-color: #429eb6;
    width: 250px;
    height: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    padding: 20px;
    z-index: 100;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.mnu-close {
    margin-bottom: 15px;
}

/* Main section */
.main {
    padding-top: 15px;
    padding-bottom: 90px;
}

.main-wrapper,
.footer-subscribe,
.footer-wrapper,
.product-item-top,
.product-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.main-right {
    width: 865px;
}

.main-slider.slick-dotted.slick-slider {
    margin-bottom: 90px;
}

.main-slider-item {
    border-radius: 10px;
    padding-top: 115px;
    padding-left: 100px;
    height: 400px;
    position: relative;
}

.main-slider-item-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.main-slider-item-title {
    width: 320px;
    font-size: 54px;
    font-family: "Corinthia", sans-serif;
    line-height: 1.2;
    margin-bottom: 25px;
    position: relative;
    z-index: 3;
}

.main-slider-item-btn {
    background-color: #a45b88;
    border-radius: 5px;
    padding: 20px 45px;
    font-weight: bold;
    color: #fff;
    position: relative;
    z-index: 3;
    overflow: hidden;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.main-slider-item-btn:hover:after {
    width: 200%;
}

.main-slider-item-btn:after {
    content: '';
    width: 75%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #97547d;
    -webkit-clip-path: polygon(40% 0%, 100% 0, 100% 100%, 0% 100%);
    clip-path: polygon(40% 0%, 100% 0, 100% 100%, 0% 100%);
    border-radius: 5px;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.main-slider-item-btn-span {
    position: relative;
    z-index: 3;
}

.arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    cursor: pointer;
}

.arrow-prev {
    left: 20px;
}

.arrow-next {
    right: 20px;
}

.slick-dots {
    bottom: -35px;
    right: 0;
    left: auto;
    width: auto;
}

.slick-dots li {
    width: 10px;
    height: 10px;
    margin: 0 10px 0 0;
}

.slick-dots li:last-child {
    margin-right: 0;
}

.slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
}

.slick-dots li button:before {
    color: transparent;
    background-color: #ebebeb;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    opacity: 1;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.slick-dots li.slick-active button:before {
    background-color: #4caac2;
    font-size: 0;
    opacity: 1;
}

.slick-slide {
    outline: none;
}

.slick-slide img {
    display: block;
    margin: 0 auto;
}

.products-list {
    background-color: #f5f5f5;
    padding: 25px 20px;
    border-radius: 0 0 10px 10px;
}

.products-list-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #545354;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.products-list-item:hover {
    color: #97547d;
}

.products-list-item:hover .products-list-item-value {
    background-color: #4caac2;
}

.products-list-item:last-of-type {
    margin-bottom: 0;
}

.products-list-item-value {
    margin-left: 10px;
    border-radius: 5px;
    padding: 0 3px;
    background-color: #cacaca;
    font-size: 12px;
    color: #fff;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.products-list-drop-btn {
    background-color: #4caac2;
    border-radius: 10px 10px 0 0;
    padding: 20px;
    justify-content: space-between;
    font-size: 21px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

.products-list-wrapper {
    width: 320px;
}

.advantages-title {
    font-size: 25px;
    font-weight: bold;
    color: #545354;
    text-align: center;
    margin-bottom: 25px;
}

.advantages-item {
    width: 16%;
    text-align: center;
}

.advantages-item-img {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 85px;
}

.advantages-item-text {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.4;
    color: #545354;
}

.advantages-item-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* Categories section */
.categories {
    background-color: #f7f7f7;
    padding: 90px 0;
    text-align: center;
}

.categories-title {
    margin-bottom: 45px;
}

.categories-item {
    width: 31%;
    border-radius: 10px;
    background-color: #fff;
    padding: 7px 7px 30px;
}

.categories-item:hover .categories-item-img img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.categories-item:hover .categories-item-name {
    color: #97547d;
}

.categories-item-img {
    border-radius: 5px 5px 0 0;
    overflow: hidden;
}

.categories-item-img img {
    width: 100%;
    height: 265px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.categories-item-name {
    margin-top: 30px;
    font-size: 17px;
    font-weight: bold;
    color: #545354;
}

.categories-item-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.products {
    padding-top: 90px;
}

.products-title {
    font-size: 25px;
    font-weight: bold;
    color: #545354;
    text-align: center;
    margin-bottom: 25px;
}

.products-item {
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    width: 31%;
    padding: 8px 8px 30px;
    border-radius: 10px;
    background-color: #fff;
}

.products-item:hover .products-item-img img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.products-item-img {
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.products-item-img img {
    width: 100%;

    -o-object-fit: contain;
    object-fit: contain;
    border-radius: 5px 5px 0 0;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.products-item-info {
    padding: 0 18px;
}

.products-item-rating {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 15px;
}

.products-item-rating-list {
    margin-right: 10px;
}

.products-item-rating-list-item {
    display: inline-block;
}

.products-item-rating-value {
    font-size: 12px;
    font-weight: bold;
    color: #c4c4c4;
}

.products-item-rating-value-span {
    font-weight: normal;
}

.products-item-name {
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 50px;
}

.products-item-bottom {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.products-item-cost {
    font-size: 21px;
    font-weight: bold;
    color: #97547d;
}

.products-item-cost-old {
    display: inline-block;
    font-size: 12px;
    color: #bdbdbd;
    margin-bottom: 5px;
    position: relative;
}

.products-item-cost-old:before {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #97547d;
    position: absolute;
    top: 50%;
    left: 0;
}

.products-item-cost-wrapper {
    margin-right: 15px;
    text-align: right;
}

.products-item-btn {
    background-color: #97547d;
    border-radius: 5px;
    padding: 15px 18px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.products-item-btn:hover {
    background-color: #4caac2;
}

.products-item-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.products-wrapper {
    padding-bottom: 90px;
}

/* Articles section */
.articles {
    background-color: #f7f7f7;
    padding-top: 90px;
    padding-bottom: 60px;
}

.articles-top {
    margin-bottom: 35px;
}

.articles-title {
    font-size: 25px;
    font-weight: bold;
    color: #545354;
}

.articles-all {
    font-weight: bold;
    color: #545354;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.articles-all:hover {
    color: #97547d;
}

.articles-item {
    width: 23%;
}

.articles-item:hover .articles-item-img img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.articles-item-img {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.articles-item-img img {
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: 240px;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.articles-item-info {
    padding: 30px 20px 100px;
    position: relative;
    border-radius: 0 0 10px 10px;
    border: 4px solid #fff;
    border-top: none;
}

.articles-item-name {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    color: #545354;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.articles-item-desc {
    color: #545354;
    line-height: 1.4;
}

.articles-item-btn {
    font-weight: bold;
    color: #97547d;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    right: 25px;
    bottom: 30px;
}

.articles-item-btn img {
    margin-left: 10px;
}

.articles-item-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* Reviews section */
.reviews {
    padding: 100px 0;
}

.reviews-top {
    margin-bottom: 35px;
}

.reviews-title {
    font-size: 25px;
    font-weight: bold;
    color: #545354;
}

.reviews-all {
    font-weight: bold;
    color: #545354;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.reviews-all:hover {
    color: #97547d;
}

.reviews-item {
    width: 31%;
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 5px;
}

.reviews-item-text {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    line-height: 1.4;
    color: #545354;
    margin-bottom: 35px;
    position: relative;
}

.reviews-item-text:after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    position: absolute;
    bottom: -10px;
    left: 45%;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #fff;
}

.reviews-item-author-name {
    font-size: 21px;
    font-weight: bold;
    color: #545354;
    text-align: center;
    margin-bottom: 15px;
}

.reviews-item-date {
    text-align: center;
    font-size: 13px;
    color: #545354;
    margin-bottom: 30px;
}

.reviews-item-product {
    padding-top: 20px;
    border-top: 3px solid #fff;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.reviews-item-product-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    -o-object-fit: cover;
    object-fit: cover;
    margin-right: 15px;
}

.reviews-item-product-name {
    font-size: 13px;
    line-height: 1.4;
    color: #545354;
}

.reviews-item-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* Info section */
.info {
    background-color: #f7f7f7;
    padding: 100px 0;
}

.info-item {
    padding: 0 100px;
    margin-bottom: 30px;
}

.info-item:last-of-type {
    margin-bottom: 0;
}

.info-title {
    font-size: 21px;
    font-weight: bold;
    color: #545354;
    text-align: center;
    margin-bottom: 35px;
}

.info-text {
    line-height: 1.4;
    color: #545354;
	font-size:16px;
    margin-bottom: 25px;
}

.info-text:last-of-type {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: #373737;
    padding-top: 50px;
    padding-bottom: 25px;
}

.footer-wrapper {

    padding-left: 40px;
    padding-right: 15px;
}

.footer-logo {
    width: 200px;
    font-size: 46px;
    font-family: "MuseoSansCyrillic", sans-serif;
    color: #97547d;
    padding-top: 30px;
}

.footer-right {
    width: 865px;
    padding-left: 55px;
    padding-top: 20px;
    border-left: 3px solid #474747;
}

.footer-subscribe {
    margin-bottom: 45px;
}

.footer-subscribe-title {
    font-size: 21px;
    font-weight: bold;
    color: #fff;
}

.footer-subscribe-form {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background-color: #fff;
    padding: 8px 8px 8px 60px;
    border-radius: 5px;
    height: 60px;
    position: relative;
}

.footer-subscribe-form:before {
    content: '';
    width: 30px;
    height: 30px;
    background: url("../img/email.png") no-repeat center;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 20px;
}

.footer-subscribe-form-input {
    width: 350px;
    height: 100%;
    font: bold 18px 'FUT', sans-serif;
    border: none;
}

.footer-subscribe-form ::-webkit-input-placeholder {
    color: #d1d1d1;
}

.footer-subscribe-form-btn {
    width: 165px;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    background-color: #97547d;
    border: none;
    font: bold 15px 'FUT', sans-serif;
    color: #fff;
    cursor: pointer;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.footer-subscribe-form-btn:hover {
    background-color: #4caac2;
}

.footer-subscribe-form-wrapper {
    width: 600px;
}

.footer-subscribe-policy {
    margin-top: 13px;
    font-size: 14px;
    color: #919191;
}

.footer-subscribe-policy a {
    color: #919191;
    text-decoration: underline;
}

.footer-info {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.footer-mnu {
    padding: 15px 0;
    width: 530px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
}

.footer-mnu-item {
    width: 50%;
    margin-bottom: 5px;
}

.footer-mnu-item-link {
    font-size: 18px;
    font-weight: bold;
    color: #919191;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.footer-mnu-item-link:hover {
    color: #fff;
}

.footer-contacts {
    width: 280px;
    border-left: 3px solid #474747;
    padding: 15px 0 15px 70px;
}

.footer-phone {
    font-weight: bold;
    color: #7e7e7e;
    margin-bottom: 3px;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.footer-phone:hover {
    color: #fff;
}

.footer-phone-info {
    margin-left: 15px;
}

.footer-phone-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 30px;
}

.footer-working-hours {
    font-size: 11px;
    color: #7e7e7e;
}

.footer-social-item {
    display: inline-block;
    margin-right: 10px;
}

.footer-social-item:last-child {
    margin-right: 0;
}

.footer-copyright {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #919191;
}

/* Product page */
.product {
    padding-top: 15px;
    padding-bottom: 90px;
}



.product-item {
    width: 865px;
}

.product-item-top {
    margin-bottom: 70px;
}

.product-photo-slider-nav {
    margin-top: 15px;
}

.product-photo-slider-nav-item {
    max-width: 100px !important;
    margin-right: 20px;
    cursor: pointer;
}

.product-photo-slider-nav-item:last-of-type {
    margin-right: 0;
}

.product-photo-slider-nav-item.slick-current {
    border: 5px solid #4caac2;
}

.product-photo-slider-wrapper {
    width: 470px;
    margin-right: 20px;
}

.product-info {
    width: 360px;
}

.product-info-tablet {
    display: none;
}

.product-code {
    font-size: 12px;
    font-weight: bold;
    color: #c4c4c4;
    margin-bottom: 10px;
}

.product-name {
    font-size: 21px;
    font-weight: bold;
    color: #545354;
    margin-bottom: 20px;
}

.product-cost {
    font-size: 27px;
    font-weight: bold;
    color: #97547d;
    margin-bottom: 25px;
}

.product-instock {
    font-size: 12px;
    font-weight: bold;
    color: #2ac16e;
    margin-bottom: 10px;
}

.product-btns {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 40px;
}

.product-btn {
    background-color: #97547d;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    margin-right: 20px;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.product-btn:hover {
    background-color: #4caac2;
}

.product-btn-click {
    border-radius: 5px;
    border: 3px solid #97547d;
    padding: 10px 30px;
    font-size: 15px;
    font-weight: bold;
    color: #97547d;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.product-btn-click:hover {
    background-color: #97547d;
    color: #fff;
}

.product-desc {
    font-size: 14px;
    line-height: 1.4;
    color: #545354;
    margin-bottom: 30px;
}

.product-advantages {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 30px;
}

.product-advantages-item {
    width: 33%;
    padding: 15px 20px 5px 20px;
    border-left: 2px solid #eaeaea;
}

.product-advantages-item:first-of-type {
    border: none;
    padding-left: 0;
}

.product-advantages-item-title {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    color: #545354;
}

.product-advantages-item-title-span {
    font-weight: normal;
}

.product-whom {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 25px 25px 0;
    margin-top: 40px;
    margin-bottom: 40px;

}

.product-whom-title {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: #545354;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 20px;
}

.product-whom-item {
    width: 33%;
    text-align: center;
    margin-bottom: 25px;
}

.product-whom-item-title {
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
    color: #545354;
}

.product-whom-item-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.product-consultate {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 25px 40px 25px 25px;
    display: none;
}

.product-consultate-title {
    font-size: 14px;
    font-weight: bold;
    color: #545354;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.product-consultate-social {
    margin-bottom: 15px;
}

.product-consultate-social-item {
    display: inline-block;
    margin-right: 15px;
}

.product-consultate-social-item:last-child {
    margin-right: 0;
}

.product-consultate-social-item-link {
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.product-consultate-social-item-link:hover {
    opacity: .6;
}

.product-consultate-phone {
    font-size: 14px;
    font-weight: bold;
    color: #545354;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.product-consultate-phone:hover {
    color: #97547d;
}

.product-tabs {
    margin-bottom: 60px;
}

.product-tabs-nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
}

.product-tabs-nav-item {
    padding: 16px 20px 10px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;

}

.product-tabs-nav-item a {
    color: black;
}

.product-tabs-nav-item:hover {
    background-color: #f5f5f5;
}

.product-tabs-nav-item.active {
    background-color: #f5f5f5;
}

.product-tabs-content {
    background-color: #f5f5f5;
    border-radius: 0 10px 10px 10px;
    padding: 40px 50px;
    display: none;
}

.product-tabs-content.active {
    display: block;
}

.product-tabs-info-text {
    color: #636263;
    line-height: 1.4;
    margin-bottom: 20px;
}

.product-tabs-info-text:last-of-type {
    margin-bottom: 0;
}

.product-other {
    margin-bottom: 60px;
}

.product-other-title {
    font-size: 14px;
    font-weight: bold;
    color: #545354;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.product-other-item-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.product-other-item-wrapper .products-item {
    width: 32%;
}

.product-other-item-wrapper .products-item-img img {
    height: 250px;
}

.product-other-item-wrapper .products-item-info {
    padding: 0 10px;
}

.product-other-item-wrapper .products-item-cost {
    font-size: 18px;
}

.product-other-item-wrapper .products-item-cost-old {
    font-size: 11px;
}

.product-wares {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 40px 50px;
    margin-bottom: 60px;
}

.product-wares-title {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: #545354;
    margin-bottom: 20px;
}

.product-wares-item {
    background-color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #545354;
    padding: 15px 25px;
    margin-right: 20px;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.product-wares-item:hover {
    background-color: #97547d;
    color: #fff;
}

.product-wares-item:last-of-type {
    margin-right: 0;
}

.product-wares-item-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.product-help-title {
    font-size: 14px;
    font-weight: bold;
    color: #545354;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.product-help-desc {
    font-size: 14px;
    color: #545354;
    margin-bottom: 20px;
}

.product-help-desc:last-of-type {
    margin-bottom: 0;
}

.product-help-item {
    width: 240px;
    height: 60px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #545354;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}
.product-left{
    margin-right: 15px;
    width: 320px;
}
.catalog-list-wrap {
    width: calc(100% - 335px);
}
.product-help-item:hover {
    background-color: #8558a3;
    color: #fff;
}

.product-help-item-span {
    padding: 15px 30px 15px 15px;
}

.product-help-item img {
    border-radius: 10px 0 0 10px;
}

.product-help-item-telegram:hover {
    background-color: #64a1eb;
}

.product-help-item-whatsapp:hover {
    background-color: #60c063;
}

.product-help-item-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 30px;
}

.header-logo img {
    max-height: 100px;
    max-width: 100%;
}

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


/* =========================================================
   101GEM — modern checkout styles for Bitrix sale.order.ajax
   Вставлять ниже стандартных стилей оформления заказа.
   Старые кастомные стили checkout лучше удалить/закомментировать.
   ========================================================= */

#bx-soa-order {
    --checkout-accent: #4eb2c3;
    --checkout-accent-dark: #3e9dad;
    --checkout-purple: #a65a91;
    --checkout-purple-dark: #91497e;
    --checkout-text: #2f2f2f;
    --checkout-muted: #777;
    --checkout-border: #e3edf0;
    --checkout-bg: #ffffff;
    --checkout-soft: #f8fbfc;
    --checkout-error-bg: #fff0f2;
    --checkout-error: #c46a78;
    --checkout-radius: 16px;
    --checkout-shadow: 0 12px 32px rgba(0,0,0,.045);

    margin-top: 35px;
    color: var(--checkout-text);
}

/* =========================
   Layout
   ========================= */

#bx-soa-order.row {
    display: flex;
    align-items: flex-start;
    gap: 34px;
}

#bx-soa-order .bx-soa {
    flex: 1 1 auto;
    max-width: 760px;
    min-width: 0;
}

#bx-soa-order .bx-soa-sidebar {
    width: 290px;
    flex: 0 0 290px;
}

/* Сброс bootstrap-сетки внутри шапок, чтобы ничего не ехало */
#bx-soa-order .bx-soa-section-title-container .col-sm-9,
#bx-soa-order .bx-soa-section-title-container .col-sm-3,
#bx-soa-order .bx-soa-section-title-container .col-xs-12 {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
}

/* =========================
   Notifications
   ========================= */

#bx-soa-order #bx-soa-main-notifications .alert {
    border: 0;
    border-radius: 14px;
    padding: 14px 22px;
    margin-bottom: 20px;
    box-shadow: none;
}

#bx-soa-order .alert {
    border: 0;
    border-radius: 14px;
    padding: 15px 18px;
    font-size: 14px;
    line-height: 1.5;
}

#bx-soa-order .alert-success {
    background: #eef9f6;
    color: #3f8b82;
}

#bx-soa-order .alert-danger {
    background: var(--checkout-error-bg);
    color: var(--checkout-error);
}

/* =========================
   Sections
   ========================= */

#bx-soa-order .bx-soa-section {
    background: var(--checkout-bg);
    border: 1px solid var(--checkout-border);
    border-radius: var(--checkout-radius);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--checkout-shadow);
}

#bx-soa-order .bx-soa-section-title-container {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
    padding: 0 34px 0 24px;
    background: var(--checkout-accent);
    border: 0;
}

#bx-soa-order .bx-soa-section-title {
    display: flex !important;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

/* Номера шагов — возвращаем цифры и центрируем */
#bx-soa-order .bx-soa-section-title-count {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 28px;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    color: transparent !important;
    font-size: 0 !important;
    line-height: 28px !important;
    text-align: center !important;
    box-sizing: border-box;
}

#bx-soa-basket .bx-soa-section-title-count::before { content: "1"; }
#bx-soa-region .bx-soa-section-title-count::before { content: "2"; }
#bx-soa-delivery .bx-soa-section-title-count::before { content: "3"; }
#bx-soa-paysystem .bx-soa-section-title-count::before { content: "4"; }
#bx-soa-properties .bx-soa-section-title-count::before { content: "5"; }
#bx-soa-auth .bx-soa-section-title-count::before { content: "1"; }
#bx-soa-pickup .bx-soa-section-title-count::before { content: ""; }

#bx-soa-order .bx-soa-section-title-count::before {
    display: block !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
	right:9px !important;
	bottom:15px !important;
	background:none !important;
}

/* Гасим стандартные зеленые/красные иконки Битрикса около номера */
#bx-soa-order .bx-soa-section-title-count::after,
#bx-soa-order .bx-step-completed .bx-soa-section-title-count::after,
#bx-soa-order .bx-step-error .bx-soa-section-title-count::after {
    display: none !important;
    content: none !important;
}

#bx-soa-order .bx-soa-editstep {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,255,255,.8);
    white-space: nowrap;
}

#bx-soa-order .bx-soa-editstep:hover {
    opacity: .85;
}

#bx-soa-order .bx-soa-section-content {
    padding: 24px 26px 26px;
    background: #fff;
}

/* =========================
   Unified form controls
   ========================= */

#bx-soa-order .form-group {
    margin-bottom: 18px;
}

#bx-soa-order label,
#bx-soa-order .bx-soa-custom-label,
#bx-soa-order .bx-soa-customer-label,
#bx-soa-order .bx-soa-coupon-label label {
    display: block;
    margin-bottom: 7px;
    color: var(--checkout-text);
    font-size: 14px;
    font-weight: 600;
}

#bx-soa-order .form-control,
#bx-soa-order input[type="text"],
#bx-soa-order input[type="email"],
#bx-soa-order input[type="tel"],
#bx-soa-order input[type="number"],
#bx-soa-order input[type="password"],
#bx-soa-order select,
#bx-soa-order textarea,
#bx-soa-order .dropdown-block {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid #dfe8eb;
    border-radius: 12px;
    background-color: #fbfbfb;
    color: var(--checkout-text);
    font-size: 15px;
    line-height: 1.35;
    box-shadow: none;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    box-sizing: border-box;
}

#bx-soa-order select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--checkout-purple) 50%),
                      linear-gradient(135deg, var(--checkout-purple) 50%, transparent 50%);
    background-position: calc(100% - 20px) 19px, calc(100% - 14px) 19px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 42px;
}

#bx-soa-order textarea,
#bx-soa-order textarea.form-control {
    min-height: 94px;
    resize: vertical;
}

#bx-soa-order .form-control:focus,
#bx-soa-order input[type="text"]:focus,
#bx-soa-order input[type="email"]:focus,
#bx-soa-order input[type="tel"]:focus,
#bx-soa-order input[type="number"]:focus,
#bx-soa-order input[type="password"]:focus,
#bx-soa-order select:focus,
#bx-soa-order textarea:focus,
#bx-soa-order .dropdown-block:focus-within {
    border-color: var(--checkout-accent);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(78,178,195,.14);
}

#bx-soa-order input[readonly],
#bx-soa-order textarea[readonly],
#bx-soa-order input[disabled],
#bx-soa-order textarea[disabled],
#bx-soa-order select[disabled] {
    background-color: #f0f3f4 !important;
    color: #777;
    cursor: not-allowed;
}

#bx-soa-order .has-error .form-control,
#bx-soa-order .has-error input,
#bx-soa-order .has-error textarea,
#bx-soa-order .has-error select {
    border-color: #d87886;
    box-shadow: 0 0 0 3px rgba(216,120,134,.13);
}

#bx-soa-order .bx-authform-starrequired {
    color: var(--checkout-purple);
}

/* Checkbox / radio */
#bx-soa-order input[type="checkbox"],
#bx-soa-order input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    accent-color: var(--checkout-purple);
    vertical-align: middle;
}

#bx-soa-order .checkbox label,
#bx-soa-order .radio label,
#bx-soa-order .radio-inline label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-weight: 500;
    line-height: 1.35;
}

#bx-soa-order .radio-inline {
    display: block;
    margin: 0 0 8px !important;
    padding: 0;
}

/* Tooltip ошибки — в поток, без наездов */
#bx-soa-order .bx-soa-tooltip-static {
    position: static !important;
    display: block !important;
    opacity: 1 !important;
    margin: 0 0 8px 0;
}

#bx-soa-order .bx-soa-tooltip-static .tooltip-arrow {
    display: none;
}

#bx-soa-order .bx-soa-tooltip-static .tooltip-inner {
    max-width: none;
    padding: 10px 13px;
    border-radius: 10px;
    background: var(--checkout-error-bg);
    color: var(--checkout-error);
    text-align: left;
    box-shadow: none;
}

/* =========================
   Basket items
   ========================= */

#bx-soa-order .bx-soa-table-fade,
#bx-soa-order .bx-soa-table-fade > div {
    overflow: visible !important;
}

#bx-soa-order .bx-soa-item-table {
    display: block;
    width: 100%;
}

#bx-soa-order .bx-soa-item-tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 70px 105px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    background: #fafafa;
    border: 0;
    border-radius: 0;
}

#bx-soa-order .bx-soa-item-td {
    display: block !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
}

#bx-soa-order .bx-soa-item-block {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

#bx-soa-order .bx-soa-item-img-block {
    flex: 0 0 82px;
    width: 82px;
}

#bx-soa-order .bx-soa-item-imgcontainer {
    width: 82px !important;
    height: 82px !important;
    border-radius: 12px;
    background-size: cover !important;
    background-position: center !important;
    border: 1px solid #eee;
}

#bx-soa-order .bx-soa-item-content {
    min-width: 0;
    flex: 1 1 auto;
}

#bx-soa-order .bx-soa-item-title a {
    display: block;
    color: #222;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

#bx-soa-order .bx-soa-item-title a:hover {
    color: var(--checkout-purple);
}

#bx-soa-order .bx-scu-container {
    margin-top: 7px;
    font-size: 12px;
    color: #8b8b8b;
}

#bx-soa-order .bx-soa-item-properties {
    text-align: right !important;
    font-size: 14px;
    color: #666;
}

#bx-soa-order .bx-price {
    color: var(--checkout-purple);
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
}

/* =========================
   Delivery / payment cards
   ========================= */

#bx-soa-order .bx-soa-section-content strong {
    font-weight: 700;
    color: #222;
}

#bx-soa-order .bx-soa-pp-company-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 16px !important;
    background: var(--checkout-soft);
    border: 1px solid #dfeff3;
    border-radius: 12px;
}

#bx-soa-order .bx-soa-pp-company-selected img {
    flex: 0 0 auto;
    max-width: 42px;
    max-height: 24px;
    object-fit: contain;
}

#bx-soa-order .bx-soa-pp-company-selected strong {
    font-size: 14px;
    line-height: 1.35;
}

#bx-soa-order .bx-soa-pp-price {
    padding-top: 13px;
    color: var(--checkout-purple);
    font-size: 18px;
    font-weight: 700;
    text-align: right;
}

#bx-soa-order .bx-soa-pp-company {
    border: 1px solid #e2edf0;
    border-radius: 14px;
    background: #fff;
    padding: 13px;
    margin-bottom: 12px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

#bx-soa-order .bx-soa-pp-company:hover {
    border-color: var(--checkout-accent);
    box-shadow: 0 8px 20px rgba(78,178,195,.12);
}

#bx-soa-order .bx-soa-pp-company.bx-selected {
    border-color: var(--checkout-purple);
    background: #fff8fc;
    box-shadow: 0 8px 20px rgba(166,90,145,.13);
}

#bx-soa-order .bx-soa-pp-company-smalltitle {
    margin-top: 8px;
    color: #333;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 500;
}

/* =========================
   Sidebar total
   ========================= */

#bx-soa-order .bx-soa-cart-total {
    position: sticky;
    top: 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--checkout-border);
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(0,0,0,.08);
}

#bx-soa-order .bx-soa-cart-total-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #ececec;
    font-size: 14px;
}

#bx-soa-order .bx-soa-cart-total-line-total {
    border-bottom: 0;
    padding-top: 18px;
    margin-top: 0;
    font-size: 20px;
    font-weight: 700;
}

#bx-soa-order .bx-soa-cart-d {
    color: var(--checkout-purple);
    font-weight: 700;
    white-space: nowrap;
}

#bx-soa-order .bx-soa-cart-total-line-total .bx-soa-cart-d {
    font-size: 28px;
    line-height: 1;
}

/* =========================
   Buttons
   ========================= */

#bx-soa-order .btn,
#bx-soa-order .btn-default,
#bx-soa-order .btn-order-save,
#bx-soa-order [data-save-button="true"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0 !important;
    border-radius: 999px;
    background: var(--checkout-purple);
    color: #fff !important;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(166,90,145,.22);
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

#bx-soa-order .btn:hover,
#bx-soa-order [data-save-button="true"]:hover {
    background: var(--checkout-purple-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(166,90,145,.28);
}

#bx-soa-order .pull-left.btn {
    background: #eef4f6;
    color: #444 !important;
    box-shadow: none;
}

/* =========================
   Consent / order save
   ========================= */

#bx-soa-order #bx-soa-orderSave {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 35px;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid var(--checkout-border);
    border-radius: var(--checkout-radius);
    box-shadow: var(--checkout-shadow);
    clear: both;
}

#bx-soa-order #bx-soa-orderSave .checkbox {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

#bx-soa-order #bx-soa-orderSave [data-save-button="true"] {
    flex: 0 0 auto;
    margin: 0 !important;
    float: none !important;
}

#bx-soa-order .main-user-consent-request {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: #555;
    font-size: 13px;
    line-height: 1.45;
}

#bx-soa-order .main-user-consent-request input {
    flex: 0 0 auto;
    margin-top: 2px;
}

#bx-soa-order .main-user-consent-request-announce-link {
    display: block;
}

/* =========================
   Coupon
   ========================= */

#bx-soa-order .bx-soa-coupon {
    background: #fafafa;
    border-radius: 14px;
    padding: 16px;
    margin-top: 18px;
}

#bx-soa-order .bx-soa-coupon-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

#bx-soa-order .bx-soa-coupon-input {
    flex: 1 1 auto;
}

/* =========================
   Mobile
   ========================= */

@media (max-width: 991px) {
    #bx-soa-order.row {
        display: block;
    }

    #bx-soa-order .bx-soa,
    #bx-soa-order .bx-soa-sidebar {
        width: 100%;
        max-width: none;
        flex: none;
    }

    #bx-soa-order .bx-soa-cart-total {
        position: static;
        margin-bottom: 20px;
    }

    #bx-soa-order #bx-soa-orderSave {
        display: block;
    }

    #bx-soa-order #bx-soa-orderSave [data-save-button="true"] {
        margin-top: 18px !important;
    }
}

@media (max-width: 640px) {
    #bx-soa-order {
        margin-top: 22px;
    }

    #bx-soa-order .bx-soa-section-title-container {
        min-height: 58px;
        padding: 0 18px;
    }

    #bx-soa-order .bx-soa-section-title {
        font-size: 18px;
    }

    #bx-soa-order .bx-soa-section-content {
        padding: 18px;
    }

    #bx-soa-order .bx-soa-item-tr {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #bx-soa-order .bx-soa-item-properties {
        text-align: left !important;
        padding-left: 96px !important;
    }

    #bx-soa-order .bx-soa-item-img-block,
    #bx-soa-order .bx-soa-item-imgcontainer {
        width: 76px !important;
        height: 76px !important;
        flex-basis: 76px;
    }

    #bx-soa-order .bx-soa-cart-total-line-total .bx-soa-cart-d {
        font-size: 24px;
    }

    #bx-soa-order .btn,
    #bx-soa-order [data-save-button="true"] {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
}





/* Media(Adaptive) */
@media only screen and (max-width: 1199px) {
    .c-container {
        width: 100%;
        padding: 0 3%;
    }

    .header-desc {
        font-size: 15px;
        margin-right: 10px;
    }

    .header-address-wrapper {
        padding-left: 10px;
        margin-right: 10px;
    }

    .header-phone-wrapper {
        margin-right: 15px;
        padding-left: 10px;
    }

    .header-mnu-wrapper {
        display: none;
    }

    .header-logo {
        width: auto;
        margin-right: 20px;
    }

    .header-search {
        width: 400px;
    }

    .toggle-nav {
        display: block;
    }

    .main-wrapper {
        display: block;
    }

    .main-right {
        width: 100%;
    }

    .main-slider-item {
        padding-top: 80px;
    }

    .products-list {
        display: none;
    }

    .products-list-wrapper {
        width: 100%;
    }

    .products-item-img img {
        height: 300px;
    }

    .articles {
        padding-top: 60px;
        padding-bottom: 30px;
    }

    .articles-item {
        width: 32%;
        margin-bottom: 30px;
    }

    .articles-item-wrapper {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .footer-wrapper {
        display: block;
        padding: 0;
    }

    .footer-logo {
        width: auto;
        text-align: center;
        padding-top: 0;
        margin-bottom: 30px;
    }

    .footer-right {
        width: 100%;
        padding-left: 0;
        padding-top: 0;
        border-left: none;
    }

    .footer-subscribe {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .footer-subscribe-title {
        margin-right: 40px;
    }

    .product-wrapper {
        display: block;
    }

    .product-item {
        width: 100%;
        margin-top: 30px;
    }

    .product-info {
        width: 48%;
    }

    .product-left {
        width: 100%;
    }
    .catalog-list-wrap {
        width: 100%;
    }

    .product-left .product-whom {
        display: none;
    }

    .product-left .product-consultate {
        display: none;
    }

    .product-info-tablet {
        display: block;
        margin-bottom: 40px;
    }

    .product-whom {
        margin-top: 0;
    }

    .product-whom-item {
        width: 16%;
    }

    .product-consultate {
        width: 30%;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 991px) {
    .header-left {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        width: 80%;
    }

    .header-desc {
        width: 100%;
        margin-right: 0;
    }

    .header-address-wrapper {
        border-left: none;
        padding-left: 0;
    }

    .header-phone-wrapper {
        border-left: none;
        padding-left: 10px;
    }

    .header-bottom {
        padding: 15px 0;
    }

    .header-bottom-wrapper {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .header-logo {
        margin-right: 0;
        padding-top: 0;
    }

    .main {
        padding-bottom: 40px;
    }

    .main-slider-item {
        padding-left: 60px;
    }

    .slick-dots {
        width: 100%;
    }

    .categories {
        padding: 60px 0;
    }

    .categories-title {
        margin-bottom: 25px;
    }

    .categories-item {
        width: 32.5%;
    }

    .categories-item-img img {
        height: 200px;
    }

    .products {
        padding-top: 40px;
    }

    .products-wrapper {
        padding-top: 20px;
        padding-bottom: 60px;
    }

    .products-item {
        width: 48%;
        margin-bottom: 30px;
    }

    .products-item-wrapper {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .reviews {
        padding-bottom: 30px;
    }

    .reviews-item {
        width: 48%;
        margin-bottom: 30px;
    }

    .reviews-item-wrapper {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .info {
        padding: 60px 0;
    }

    .info-item {
        padding: 0;
        margin-bottom: 50px;
    }

    .footer-subscribe-form-wrapper {
        width: 500px;
    }

    .footer-contacts {
        padding-left: 30px;
    }

    .product-item-top {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .product-info {
        width: 100%;
        margin-top: 30px;
        text-align: center;
    }

    .product-btns {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .product-whom-item {
        width: 25%;
    }

    .product-consultate {
        text-align: left;
    }

    .product-consultate-item-wrapper {
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .product-consultate-phone {
        margin-left: 20px;
    }

    .product-tabs-nav-item {
        padding: 15px 15px 10px;
        font-size: 13px;
    }

    .product-tabs-content {
        padding: 30px;
    }

    .product-other-item-wrapper {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .product-other-item-wrapper .products-item {
        width: 48%;
    }

    .product-consultate {
        width: 50%;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 767px) {
    .header-wrapper {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .header-left {
        width: 100%;
    }

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

    .header-info {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .header-phone-wrapper {
        margin-right: 0;
    }

    .header-phone-2-wrapper {
        text-align: center;
    }

    .header-bottom-right {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .header-search {
        width: 100%;
        margin-bottom: 30px;
    }

    .header-favorites {
        margin: 0 30px;
    }

    .main {
        padding-bottom: 30px;
    }

    .main-slider-item {
        height: 300px;
        padding-top: 40px;
        padding-left: 20px;
    }

    .main-slider-item-title {
        width: 300px;
        font-size: 44px;
    }

    .advantages-item {
        width: 33%;
        margin-bottom: 30px;
    }

    .advantages-item-wrapper {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .categories {
        padding-bottom: 30px;
    }

    .categories-item {
        width: 48%;
        margin-bottom: 30px;
    }

    .categories-item-wrapper {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .products-item {
        width: 100%;
    }

    .articles-item {
        width: 48%;
    }

    .reviews-item {
        width: 100%;
    }

    .footer-subscribe {
        display: block;
        text-align: center;
    }

    .footer-subscribe-title {
        margin-bottom: 15px;
        margin-right: 0;
    }

    .footer-subscribe-title br {
        display: none;
    }

    .footer-subscribe-form-wrapper {
        width: 100%;
    }

    .footer-info {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .footer-mnu {
        width: 100%;
    }

    .footer-contacts {
        width: 50%;
        padding-left: 0;
        border-left: none;
    }

    .product {
        padding-bottom: 50px;
    }

    .product-photo-slider-wrapper {
        width: 100%;
    }

    .product-item-top {
        margin-bottom: 40px;
    }

    .product-tabs-nav {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .product-tabs-nav-item {
        border-radius: 10px;
        padding: 15px;
    }

    .product-other {
        margin-bottom: 30px;
    }

    .product-other-item-wrapper .products-item {
        width: 100%;
    }

    .product-wares {
        padding: 30px 30px 15px;
    }

    .product-wares-item {
        margin-bottom: 15px;
    }

    .product-wares-item-wrapper {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .product-help-item {
        margin-bottom: 15px;
    }

    .product-help-item:last-of-type {
        margin-bottom: 0;
    }

    .product-help-item-wrapper {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}



.main-slider-ImgDesktop {
    display: block;
}

.main-slider-ImgMobile {
    display: none;
}

.products-list-itemLevel-1 {
    margin-top: 10px;
    margin-left: 0;
}

.products-list-itemLevel-2 {
    margin-top: 5px;
    margin-left: 10px;
}

.products-list-itemLevel-3 {
    margin-top: 5px;
    margin-left: 20px;
}

@media screen  and (max-width: 575px) {
    .main-slider-ImgDesktop {
        display: none;
    }

    .main-slider-ImgMobile {

        display: block;
    }
}


.product-photo-slider-nav-image {
    width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.products-item-link {
    color: black;

}

.products-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.products-item-img {
    height: 100%;
}

.product-item-container {
    width: calc(33.333333% - 20px);
}

.category-page {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*justify-content: center;*/
    margin: 0 -10px;
}

.category-page .product-item-container {
    margin: 0 10px 10px 10px;
    width: calc(33.33333% - 20px);
}

.popup-btns-cont {
    display: flex;
    flex-direction: column;
}

.product-to_bin {
    margin: 0 auto;
}

.catalog-section {
    margin-bottom: 30px;
    width: 100%;
}

.breadcrumbs-link {
    color: black;
}

.breadcrumbs-link:hover {
    color: #97547d;
}

.breadcrumbs-itemCurrent {
    color: #97547d;
}

.breadcrumbs-container{
    margin: 10px auto 0 auto;
}


.bx_catalog_tile {
    margin-bottom: 0;
}

.bx-filter.bx-green .btn-themes.bx-active, .bx-filter.bx-green .btn-themes.focus, .bx-filter.bx-green .btn-themes:active, .bx-filter.bx-green .btn-themes:focus, .bx-filter.bx-green .btn-themes:hover {
    background-color: #97547d;
    border-color: #97547d;
    color: #FFF;
}
.bx-filter.bx-green .btn-themes {
    background-color: #9a6285;
    border-color: #9a6285;
    color: #FFF;
}
.bx-filter.bx-green .bx-ui-slider-pricebar-v {
    background: #997489;
}
.row{
    width: 100%;
}
/* Extra Small Devices, Phones */
@media only screen and (max-width: 479px) {
    .product-btns div{
        width: 100%;
    }
    .articles-item-img{
        text-align: center;
    }
    .category-page .product-item-container{
        width: 100%;
    }

    .product-item-container{
        width: 100%;
        margin: 0 0 15px 0 ;
    }
    .row{
        width: auto;
        margin: 15px 0 15px 0;
    }
    .bx_incl_area_3{
        width: 100%;
    }
    .header-address-info {
        margin-left: 0;
        margin-top: 10px;
    }

    .header-address-wrapper {
        display: block;
        text-align: center;
        margin-right: 0;
    }

    .header-search {
        height: 50px;
    }

    .header-search-input {
        width: 80%;
        padding-left: 15px;
    }

    .header-search-btn {
        width: 20%;
    }

    .main-slider-item {
        text-align: center;
        padding: 40px 0 0;
    }

    .main-slider-item-title {
        width: 100%;
    }

    .main-slider-item-btn {
        padding: 15px 35px;
    }

    .advantages-item {
        padding: 0 10px;
    }

    .advantages-item-text {
        font-size: 12px;
    }

    .categories-title {
        line-height: 1.4;
    }

    .categories-item {
        width: 100%;
    }

    .products-item-img img {
        height: 250px;
    }

    .articles-top {
        display: block;
        text-align: center;
    }

    .articles-title {
        margin-bottom: 15px;
    }

    .articles-item {
        width: 100%;
    }

    .footer-subscribe-form {
        padding-left: 0;
    }

    .footer-subscribe-form:before {
        display: none;
    }

    .footer-subscribe-form-input {
        width: 60%;
        padding-left: 15px;
    }

    .footer-subscribe-form-btn {
        width: 40%;
    }

    .footer-mnu-item {
        margin-bottom: 10px;
    }

    .footer-mnu-item-link {
        font-size: 16px;
    }

    .footer-contacts {
        width: 100%;
    }

    .product-photo-slider-nav-item {
        width: 70px !important;
    }

    .product-btns {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .product-btn {
        width: 70%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 0;
    }

    .product-btn-click {
        width: 70%;
        text-align: center;
    }

    .product-advantages-item {
        padding: 0;
    }

    .product-whom-item {
        width: 33%;
    }

    .product-consultate-item-wrapper {
        display: block;
    }

    .product-consultate-phone {
        margin-top: 15px;
        margin-left: 0;
    }

    .product-tabs-content {
        padding: 25px 15px;
    }

    .product-consultate {
        width: 100%;
    }
}

/* ↓↓ buy_one_click ↓↓ */

.buy_one_click-form{
    display: flex;
    flex-direction: column;
}
.order_call_modal_btn,.callback-form-input{
    margin: 0 0 15px 0 ;
    padding: 10px 15px;
    border-radius: 5px;
    border: 3px solid #97547d;
    font-size: 15px;
    font-weight: bold;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.callback-form-input{
    color: #97547d;

}
.order_call_modal_btn{
    background-color: #97547d;
    color: white;
}
.buy_one_click-form_text{
    font-size: 15px;
    font-weight: bold;
}
/* ↑↑ buy_one_click ↑↑ */

/* =========================================================
   101GEM — modern header styles
   Меняем только шапку: .header и вложенные элементы header-*
   ========================================================= */

.header {
    --header-blue: #4caac2;
    --header-blue-dark: #3f9bb2;
    --header-blue-soft: #eaf7fa;
    --header-purple: #97547d;
    --header-purple-dark: #84446c;
    --header-text: #3f3f46;
    --header-muted: #777782;
    --header-border: rgba(255,255,255,.22);

    background: #fff;
    color: var(--header-text);
    position: relative;
    z-index: 50;
    box-shadow: 0 10px 35px rgba(45, 80, 90, .08);
}

.header .c-container {
    max-width: 1170px;
    width: calc(100% - 40px);
}

/* Верхняя контактная панель */
.header-wrapper {
    min-height: 78px;
    padding: 11px 0;
    gap: 22px;
}

.header > .c-container:first-child {
    background: linear-gradient(135deg, var(--header-blue-dark) 0%, var(--header-blue) 100%);
    max-width: none;
    width: 100%;
    padding: 0 calc((100% - 1170px) / 2);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.14);
}

.header-left {
    min-width: 0;
    flex: 1 1 auto;
    gap: 24px;
}

.header-desc {
    flex: 0 0 285px;
    margin: 0;
    padding-right: 22px;
    font-size: 18px;
    line-height: 1.25;
    color: #fff;
    letter-spacing: .01em;
    border-right: 1px solid var(--header-border);
}

.header-info {
    flex: 1 1 auto;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.header-address-wrapper,
.header-phone-wrapper,
.header-phone-2-wrapper {
    min-height: 46px;
    margin: 0;
    padding: 0 20px 0 0;
    border-left: 0;
    border-right: 1px solid var(--header-border);
}

.header-phone-2-wrapper {
    border-right: 0;
    padding-right: 0;
}

.header-address-wrapper img,
.header-phone-wrapper img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex: 0 0 34px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,.12));
}

.header-address-info,
.header-phone-info {
    margin-left: 10px;
    min-width: 0;
}

.header-address,
.header-phone {
    display: block;
    margin: 0 0 4px;
    color: #fff;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 700;
    white-space: nowrap;
}

.header-address-text,
.header-working-hours {
    color: rgba(255,255,255,.88);
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
}

.header-phone:hover,
.header-phone:focus {
    color: #fff;
    opacity: .82;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    list-style: none;
}

.header-social-item {
    margin: 0;
}

.header-social-item-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    transition: transform .2s ease, background-color .2s ease, opacity .2s ease;
}

.header-social-item-link img {
    max-width: 24px;
    max-height: 24px;
}

.header-social-item-link:hover {
    opacity: 1;
    background: rgba(255,255,255,.18);
    transform: translateY(-1px);
}

/* Меню */
.header-mnu-wrapper {
    background: #4fb0c7;
    padding: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.header-mnu-wrapper .c-container {
    max-width: 1170px;
    width: calc(100% - 40px);
}

.header-mnu {
    min-height: 56px;
    align-items: center;
    gap: 10px;
}

.header-mnu-item {
    flex: 1 1 auto;
    padding: 0;
    border-right: 0;
    text-align: center;
}

.header-mnu-item:first-child {
    padding-left: 0;
}

.header-mnu-item-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    border-radius: 999px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.15;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.header-mnu-item-link:hover,
.header-mnu-item-link:focus {
    color: #fff;
    background: rgba(255,255,255,.16);
    box-shadow: 0 8px 20px rgba(34, 94, 108, .12);
    transform: translateY(-1px);
}

/* Нижняя белая часть */
.header-bottom {
    background: #fff;
    padding: 28px 0 32px;
}

.header-bottom-wrapper {
    gap: 32px;
}

.header-logo {
    flex: 0 0 260px;
    width: 260px;
    padding: 0;
    text-align: center;
}

.header-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.header-logo img {
    max-height: 96px;
    width: auto;
    transition: transform .2s ease, opacity .2s ease;
}

.header-logo a:hover img {
    transform: translateY(-1px);
    opacity: .92;
}

.header-bottom-right {
    flex: 1 1 auto;
    width: auto;
    gap: 28px;
    justify-content: flex-end;
}

.header-search {
    flex: 1 1 520px;
    max-width: 540px;
    width: auto;
    height: 58px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5ebef;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(45, 80, 90, .07);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.header-search:focus-within {
    border-color: var(--header-blue);
    box-shadow: 0 12px 30px rgba(76,170,194,.16);
}

.header-search-input {
    width: calc(100% - 64px);
    height: 100%;
    padding: 0 22px;
    border: 0;
    background: transparent;
    color: var(--header-text);
    font: 18px 'FUT', sans-serif;
}

.header-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 100%;
    padding: 0 18px 0 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.header-search-btn img {
    max-width: 32px;
    max-height: 32px;
    transition: transform .2s ease, opacity .2s ease;
}

.header-search-btn:hover img {
    transform: scale(1.06);
    opacity: .85;
}

.header-enter-wrapper {
    flex: 0 0 auto;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid #edf1f3;
    border-radius: 999px;
    background: #fbfdfe;
}

.header-enter {
    margin: 0;
    padding: 0 10px 0 0;
    border-right: 1px solid #d8dde0;
    color: var(--header-text);
    font-size: 14px;
    font-weight: 700;
    transition: color .2s ease;
}

.header-logout {
    padding: 0;
    color: var(--header-text);
    font: 700 14px 'FUT', sans-serif;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color .2s ease;
}

.header-enter:hover,
.header-logout:hover {
    color: var(--header-purple);
}

.header-favorites,
.header-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eef2f4;
    box-shadow: 0 8px 22px rgba(45,80,90,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.header-favorites:hover,
.header-cart:hover {
    transform: translateY(-1px);
    border-color: rgba(151,84,125,.28);
    box-shadow: 0 12px 26px rgba(151,84,125,.14);
}

.header-favorites img,
.header-cart img {
    max-width: 34px;
    max-height: 34px;
}

.header-favorites-value {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    top: -7px;
    right: -7px;
    border-radius: 999px;
    background: var(--header-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    box-shadow: 0 4px 10px rgba(76,170,194,.25);
}

.toggle-nav {
    align-items: center;
    justify-content: center;
}

/* Адаптив шапки */
@media (max-width: 1200px) {
    .header > .c-container:first-child {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-desc {
        flex-basis: 240px;
        font-size: 17px;
    }

    .header-bottom-right {
        gap: 18px;
    }

    .header-search {
        max-width: 440px;
    }
}

@media (max-width: 991px) {
    .header-wrapper {
        min-height: auto;
        flex-wrap: wrap;
    }

    .header-left {
        width: calc(100% - 100px);
        flex-wrap: wrap;
        gap: 14px;
    }

    .header-desc {
        flex: 1 1 100%;
        padding-right: 0;
        border-right: 0;
        font-size: 17px;
    }

    .header-info {
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-address-wrapper,
    .header-phone-wrapper,
    .header-phone-2-wrapper {
        border-right: 0;
        padding-right: 0;
    }

    .header-mnu {
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px 0;
    }

    .header-mnu-item {
        flex: 0 1 auto;
    }

    .header-bottom-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 22px;
    }

    .header-logo {
        flex: 0 0 100%;
        width: 100%;
    }

    .header-bottom-right {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-search {
        order: 1;
        flex: 1 1 100%;
        max-width: 620px;
    }
}

@media (max-width: 640px) {
    .header .c-container,
    .header-mnu-wrapper .c-container {
        width: calc(100% - 24px);
    }

    .header > .c-container:first-child {
        padding-left: 12px;
        padding-right: 12px;
    }

    .header-wrapper {
        padding: 12px 0;
        gap: 14px;
    }

    .header-left {
        width: 100%;
    }

    .header-desc {
        font-size: 16px;
        text-align: center;
    }

    .header-info {
        display: none;
    }

    .header-social {
        margin: 0 auto;
    }

    .toggle-nav {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-mnu-wrapper {
        display: none;
    }

    .header-bottom {
        padding: 20px 0 24px;
    }

    .header-logo img {
        max-height: 82px;
    }

    .header-bottom-right {
        gap: 12px;
    }

    .header-search {
        height: 52px;
        border-radius: 18px;
    }

    .header-search-input {
        font-size: 16px;
        padding: 0 16px;
    }

    .header-enter-wrapper {
        order: 2;
        width: 100%;
        justify-content: center;
        border-radius: 16px;
    }

    .header-favorites,
    .header-cart {
        order: 3;
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
}

/* =========================================================
   101GEM — modern footer styles
   Правки только для футера: .footer и дочерние классы.
   ========================================================= */

.footer {
    --footer-bg: #303030;
    --footer-bg-2: #383838;
    --footer-line: rgba(255,255,255,.10);
    --footer-text: rgba(255,255,255,.72);
    --footer-muted: rgba(255,255,255,.48);
    --footer-white: #fff;
    --footer-accent: #f1a9b8;
    --footer-turquoise: #4eb2c3;
    --footer-radius: 24px;

    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 14%, rgba(78,178,195,.16), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(241,169,184,.12), transparent 28%),
        linear-gradient(135deg, #2f2f2f 0%, #353535 100%);
    padding: 58px 0 30px;
    color: var(--footer-text);
}

.footer:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
}

.footer .c-container {
    position: relative;
    z-index: 1;
}

.footer-wrapper {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: stretch;
    gap: 48px;
    padding: 0;
}

.footer-logo {
    width: auto;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 34px;
    border: 1px solid var(--footer-line);
    border-radius: var(--footer-radius);
    background: rgba(255,255,255,.035);
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.footer-logo img {
    display: block;
    max-width: 190px;
    max-height: 150px;
    object-fit: contain;
}

.footer-right {
    width: auto;
    padding: 0;
    border: 0;
}

.footer-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 48px;
    align-items: stretch;
}

.footer-mnu {
    width: auto;
    padding: 26px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 16px 34px;
    list-style: none;
    border-top: 1px solid var(--footer-line);
    border-bottom: 1px solid var(--footer-line);
    align-self: center;
}

.footer-mnu-item {
    width: auto;
    margin: 0;
}

.footer-mnu-item-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--footer-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    transition: color .2s ease, transform .2s ease;
}

.footer-mnu-item-link:before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--footer-accent);
    opacity: .7;
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}

.footer-mnu-item-link:hover {
    color: var(--footer-white);
    transform: translateX(3px);
}

.footer-mnu-item-link:hover:before {
    opacity: 1;
    transform: scale(1.25);
    background: var(--footer-turquoise);
}

.footer-contacts {
    width: auto;
    padding: 26px 0 26px 38px;
    border-left: 1px solid var(--footer-line);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-phone-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-phone-wrapper img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    object-fit: contain;
}

.footer-phone-info {
    margin-left: 0;
}

.footer-phone {
    display: inline-block;
    margin-bottom: 4px;
    color: rgba(255,255,255,.78);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    transition: color .2s ease;
}

.footer-phone:hover {
    color: var(--footer-white);
}

.footer-working-hours {
    color: var(--footer-muted);
    font-size: 13px;
    line-height: 1.35;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    list-style: none;
}

.footer-social-item {
    display: block;
    margin: 0;
}

.footer-social-item-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 13px;
    background: rgba(255,255,255,.045);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.footer-social-item-link img {
    max-width: 22px;
    max-height: 22px;
    object-fit: contain;
    opacity: .86;
    transition: opacity .2s ease;
}

.footer-social-item-link:hover {
    border-color: rgba(241,169,184,.72);
    background: rgba(241,169,184,.14);
    transform: translateY(-2px);
}

.footer-social-item-link:hover img {
    opacity: 1;
}

.footer-copyright {
    margin: 34px auto 0;
    padding-top: 22px;
    max-width: 420px;
    border-top: 1px solid var(--footer-line);
    color: var(--footer-muted);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

@media (max-width: 1190px) {
    .footer .c-container {
        width: calc(100% - 40px);
    }

    .footer-wrapper {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 34px;
    }

    .footer-info {
        grid-template-columns: minmax(0, 1fr) 285px;
        gap: 34px;
    }
}

@media (max-width: 900px) {
    .footer {
        padding: 44px 0 26px;
    }

    .footer-wrapper {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-logo {
        min-height: auto;
        padding: 28px;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-mnu {
        padding: 24px 0;
    }

    .footer-contacts {
        padding: 24px 0 0;
        border-left: 0;
        border-top: 1px solid var(--footer-line);
    }
}

@media (max-width: 560px) {
    .footer .c-container {
        width: calc(100% - 24px);
    }

    .footer-logo img {
        max-width: 160px;
    }

    .footer-mnu {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .footer-mnu-item-link {
        font-size: 17px;
    }

    .footer-phone-wrapper {
        align-items: flex-start;
    }

    .footer-copyright {
        margin-top: 28px;
        font-size: 13px;
    }
}

/* =========================================================
   101GEM — modern advantages block
   Только блок .advantages
   ========================================================= */

.advantages {
    --adv-accent: #4eb2c3;
    --adv-accent-dark: #3e9dad;
    --adv-purple: #a65a91;
    --adv-text: #333333;
    --adv-muted: #6f6f6f;
    --adv-border: #e6eef1;
    --adv-soft: #f8fbfc;
    --adv-shadow: 0 14px 34px rgba(0,0,0,.055);

    margin: 55px 0 65px;
    padding: 46px 38px 42px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
    border: 1px solid var(--adv-border);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0,0,0,.045);
}

.advantages-title {
    position: relative;
    margin: 0 0 34px;
    padding-bottom: 16px;
    color: var(--adv-text);
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.advantages-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 78px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--adv-accent), var(--adv-purple));
    transform: translateX(-50%);
}

.advantages-item-wrapper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
    justify-content: initial;
}

.advantages-item-wrapper + .advantages-item-wrapper {
    margin-top: 22px;
}

.advantages-item {
    position: relative;
    width: auto;
    min-height: 190px;
    padding: 24px 15px 20px;
    background: #fff;
    border: 1px solid var(--adv-border);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.035);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}

.advantages-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--adv-accent), var(--adv-purple));
    opacity: 0;
    transition: opacity .22s ease;
}

.advantages-item:hover {
    transform: translateY(-5px);
    border-color: rgba(78,178,195,.55);
    background: var(--adv-soft);
    box-shadow: var(--adv-shadow);
}

.advantages-item:hover::before {
    opacity: 1;
}

.advantages-item-img {
    width: 86px;
    height: 86px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(78,178,195,.10), rgba(166,90,145,.10));
}

.advantages-item-img img {
    max-width: 66px;
    max-height: 66px;
    object-fit: contain;
    transition: transform .22s ease;
}

.advantages-item:hover .advantages-item-img img {
    transform: scale(1.07);
}

.advantages-item-text {
    margin: 0;
    color: var(--adv-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

@media (max-width: 1190px) {
    .advantages {
        padding: 40px 28px 36px;
    }

    .advantages-item-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .advantages {
        margin: 38px 0 48px;
        padding: 34px 18px 28px;
        border-radius: 20px;
    }

    .advantages-title {
        margin-bottom: 28px;
        font-size: 26px;
    }

    .advantages-item-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .advantages-item-wrapper + .advantages-item-wrapper {
        margin-top: 16px;
    }

    .advantages-item {
        min-height: 170px;
        padding: 20px 12px 18px;
        border-radius: 17px;
    }

    .advantages-item-img {
        width: 76px;
        height: 76px;
        margin-bottom: 14px;
    }

    .advantages-item-img img {
        max-width: 58px;
        max-height: 58px;
    }

    .advantages-item-text {
        font-size: 14px;
    }
}

@media (max-width: 460px) {
    .advantages-item-wrapper {
        grid-template-columns: 1fr;
    }

    .advantages-item {
        min-height: auto;
    }
}

/* =========================================================
   101GEM — common titles + advantages block fix
   Добавлено: единый стиль заголовков и нормальная сетка преимуществ
   ========================================================= */

:root {
    --gem-accent: #4caac2;
    --gem-accent-dark: #429eb6;
    --gem-purple: #97547d;
    --gem-text: #333333;
    --gem-muted: #666666;
    --gem-border: #e4eef1;
    --gem-soft: #f8fbfc;
    --gem-shadow: 0 14px 35px rgba(66, 158, 182, .10);
}

/* Единый стиль заголовков секций */
.advantages-title,
.products-title,
.articles-title,
.reviews-title,
.info-title,
.categories-title,
.product-other-title,
.product-wares-title,
.product-help-title {
    position: relative;
    display: block;
    margin: 0 auto 34px !important;
    padding: 0 0 18px !important;
    color: var(--gem-text) !important;
    font-size: 30px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-transform: none !important;
}

.advantages-title::after,
.products-title::after,
.articles-title::after,
.reviews-title::after,
.info-title::after,
.categories-title::after,
.product-other-title::after,
.product-wares-title::after,
.product-help-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 78px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gem-accent), var(--gem-purple));
    transform: translateX(-50%);
}

/* Блок преимуществ */
.advantages {
    margin: 60px 0 70px;
    padding: 46px 44px 50px;
    background: #fff;
    border: 1px solid var(--gem-border);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .045);
}

.advantages .advantages-title {
    margin-bottom: 40px !important;
}

.advantages-item-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px !important;
    margin: 0 !important;
    align-items: stretch !important;
    justify-content: initial !important;
}

.advantages-item-wrapper + .advantages-item-wrapper {
    margin-top: 24px !important;
}

.advantages-item {
    width: auto !important;
    min-height: 215px;
    padding: 24px 18px 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
    border: 1px solid var(--gem-border);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .035);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.advantages-item:hover {
    transform: translateY(-4px);
    border-color: rgba(76, 170, 194, .55);
    box-shadow: 0 16px 36px rgba(76, 170, 194, .14);
}

.advantages-item-img {
    width: 92px !important;
    height: 92px !important;
    margin: 0 auto 18px !important;
    padding: 15px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgba(76, 170, 194, .10), rgba(151, 84, 125, .10));
    border-radius: 24px;
}

.advantages-item-img img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 68px !important;
    max-height: 68px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

.advantages-item-text {
    margin: 0 auto !important;
    max-width: 190px;
    color: var(--gem-muted) !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    text-align: center !important;
}

@media (max-width: 1180px) {
    .advantages {
        padding: 38px 28px 42px;
    }

    .advantages-item-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .advantages-title,
    .products-title,
    .articles-title,
    .reviews-title,
    .info-title,
    .categories-title,
    .product-other-title,
    .product-wares-title,
    .product-help-title {
        font-size: 25px !important;
        margin-bottom: 26px !important;
    }

    .advantages {
        margin: 35px 0 45px;
        padding: 30px 18px 34px;
        border-radius: 18px;
    }

    .advantages-item-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px !important;
    }

    .advantages-item-wrapper + .advantages-item-wrapper {
        margin-top: 16px !important;
    }

    .advantages-item {
        min-height: 190px;
        padding: 20px 12px 18px;
        border-radius: 16px;
    }

    .advantages-item-img {
        width: 78px !important;
        height: 78px !important;
        margin-bottom: 14px !important;
        border-radius: 20px;
    }

    .advantages-item-img img {
        max-width: 58px !important;
        max-height: 58px !important;
    }

    .advantages-item-text {
        font-size: 14px !important;
    }
}

@media (max-width: 420px) {
    .advantages-item-wrapper {
        grid-template-columns: 1fr;
    }

    .advantages-item {
        min-height: 0;
    }
}

/* =========================================================
   101GEM — advantages grid FIX
   Проблема: блок преимуществ разбит на два .advantages-item-wrapper.
   Решение: превращаем wrappers в display: contents, чтобы все 12 элементов
   стали одной ровной CSS-grid сеткой без изменения HTML.
   ========================================================= */

.advantages {
    --section-accent: #4eb2c3;
    --section-purple: #97547d;
    --section-text: #333333;
    --section-muted: #686868;
    --section-border: #e2eef2;
    --section-card-bg: #ffffff;
    --section-soft: #f5fafb;

    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 24px;
    align-items: stretch;
    width: 100%;
    padding: 50px 40px;
    margin: 40px 0 70px;
    background: #fff;
    border: 1px solid var(--section-border);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .045);
    box-sizing: border-box;
}

.advantages .advantages-title {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0 0 8px;
    padding: 0 0 18px;
    text-align: center;
    color: var(--section-text);
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    position: relative;
}

.advantages .advantages-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 78px;
    height: 3px;
    border-radius: 99px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--section-accent), var(--section-purple));
}

.advantages .advantages-item-wrapper {
    display: contents !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.advantages .advantages-item {
    width: auto !important;
    min-width: 0;
    min-height: 220px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 24px 18px 22px;
    background: var(--section-card-bg);
    border: 1px solid var(--section-border);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .035);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    box-sizing: border-box;
}

.advantages .advantages-item:hover {
    transform: translateY(-4px);
    border-color: rgba(78, 178, 195, .55);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .07);
}

.advantages .advantages-item-img {
    width: 92px !important;
    height: 92px !important;
    min-height: 92px !important;
    margin: 0 auto 18px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #eef8fa 0%, #f6f0f6 100%);
    border-radius: 22px;
    overflow: hidden;
    box-sizing: border-box;
}

.advantages .advantages-item-img img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 70px !important;
    max-height: 70px !important;
    margin: 0 auto !important;
    object-fit: contain;
}

.advantages .advantages-item-text {
    width: 100%;
    margin: 0 !important;
    color: var(--section-muted);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;
    text-align: center;
}

/* Единый стиль заголовков основных секций */
.products-title,
.advantages-title,
.articles-title,
.reviews-title,
.info-title,
.categories-title {
    position: relative;
    margin: 0 0 34px !important;
    padding: 0 0 18px !important;
    color: #333 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-align: center !important;
}

.products-title::after,
.articles-title::after,
.reviews-title::after,
.info-title::after,
.categories-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 78px;
    height: 3px;
    border-radius: 99px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #4eb2c3, #97547d);
}

@media (max-width: 1199px) {
    .advantages {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 42px 28px;
    }
}

@media (max-width: 767px) {
    .advantages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        padding: 34px 18px;
        border-radius: 18px;
    }

    .advantages .advantages-title,
    .products-title,
    .articles-title,
    .reviews-title,
    .info-title,
    .categories-title {
        font-size: 25px !important;
    }

    .advantages .advantages-item {
        min-height: 205px;
        padding: 20px 14px;
    }

    .advantages .advantages-item-text {
        font-size: 14px;
    }
}

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

/* =========================================================
   101GEM — personal section / аккуратная сетка личного кабинета
   bitrix:sale.personal.section
   ========================================================= */

.personal-page {
    --personal-accent: #4eb2c3;
    --personal-accent-dark: #3d9cac;
    --personal-purple: #a65a91;
    --personal-text: #333333;
    --personal-muted: #777777;
    --personal-border: #e2eef1;
    --personal-soft: #f8fbfc;
    --personal-radius: 18px;
    --personal-shadow: 0 14px 34px rgba(0, 0, 0, .055);

    max-width: 1170px;
    margin: 35px auto 70px;
    padding: 0 15px;
}

.personal-page #bx_incl_area_5_1 > .row,
.personal-page .row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.personal-page .col-lg-3,
.personal-page .col-md-4,
.personal-page .col-6 {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
}

.personal-page .sale-personal-section-index-block {
    height: 100%;
    min-height: 190px;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--personal-border);
    border-radius: var(--personal-radius);
    background: #fff !important;
    box-shadow: var(--personal-shadow);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.personal-page .sale-personal-section-index-block:hover {
    transform: translateY(-4px);
    border-color: rgba(78, 178, 195, .55);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .085);
}

.personal-page .sale-personal-section-index-block-link {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    height: 100%;
    min-height: 190px;
    padding: 28px 18px;
    color: var(--personal-text) !important;
    text-align: center;
    text-decoration: none !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(166, 90, 145, .08), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(78, 178, 195, .10), transparent 36%),
        #fff;
}

.personal-page .sale-personal-section-index-block-ico {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin: 0 !important;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(78, 178, 195, .13), rgba(166, 90, 145, .10));
    color: var(--personal-accent) !important;
    line-height: 1 !important;
    transition: background .22s ease, color .22s ease, transform .22s ease;
}

.personal-page .sale-personal-section-index-block:hover .sale-personal-section-index-block-ico {
    transform: scale(1.04);
    background: linear-gradient(135deg, var(--personal-accent), var(--personal-purple));
    color: #fff !important;
}

.personal-page .sale-personal-section-index-block-ico i,
.personal-page .sale-personal-section-index-block-ico .fa {
    display: block;
    margin: 0 !important;
    color: inherit !important;
    font-size: 38px !important;
    line-height: 1 !important;
    text-align: center;
}

.personal-page .sale-personal-section-index-block-name {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--personal-text) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.personal-page .sale-personal-section-index-block:hover .sale-personal-section-index-block-name {
    color: var(--personal-purple) !important;
}

/* Перебиваем стандартные цветовые классы Битрикса */
.personal-page .sale-personal-section-index-block.bx-green,
.personal-page .sale-personal-section-index-block.bx-blue,
.personal-page .sale-personal-section-index-block.bx-red,
.personal-page .sale-personal-section-index-block.bx-yellow {
    background: #fff !important;
}

/* Мобильная адаптация */
@media (max-width: 991px) {
    .personal-page #bx_incl_area_5_1 > .row,
    .personal-page .row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .personal-page {
        margin-top: 25px;
        margin-bottom: 45px;
    }

    .personal-page #bx_incl_area_5_1 > .row,
    .personal-page .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .personal-page .sale-personal-section-index-block,
    .personal-page .sale-personal-section-index-block-link {
        min-height: 155px;
    }

    .personal-page .sale-personal-section-index-block-link {
        padding: 22px 12px;
        gap: 12px;
    }

    .personal-page .sale-personal-section-index-block-ico {
        width: 64px;
        height: 64px;
        border-radius: 20px;
    }

    .personal-page .sale-personal-section-index-block-ico i,
    .personal-page .sale-personal-section-index-block-ico .fa {
        font-size: 30px !important;
    }

    .personal-page .sale-personal-section-index-block-name {
        font-size: 15px !important;
    }
}

@media (max-width: 420px) {
    .personal-page #bx_incl_area_5_1 > .row,
    .personal-page .row {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   101GEM — modern personal orders list styles
   Bitrix: sale.personal.order.list
   ========================================================= */

.personal-order-list {
    --po-accent: #4eb2c3;
    --po-accent-dark: #3f9fb0;
    --po-purple: #a65a91;
    --po-purple-dark: #91497e;
    --po-text: #2f2f2f;
    --po-muted: #7b7b7b;
    --po-border: #e3edf0;
    --po-soft: #f8fbfc;
    --po-danger: #c46a78;
    --po-danger-bg: #fff0f2;
    --po-success: #3f8b82;
    --po-success-bg: #eef9f6;
    --po-radius: 18px;
    --po-shadow: 0 14px 36px rgba(0,0,0,.055);

    max-width: 1040px;
    margin: 35px auto 70px;
    color: var(--po-text);
}

.personal-order-list > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.personal-order-list > .row:first-child {
    margin-bottom: 24px !important;
}

.personal-order-list > .row:first-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--po-border);
    color: var(--po-purple) !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0,0,0,.045);
    transition: .2s ease;
}

.personal-order-list > .row:first-child a:hover {
    background: var(--po-purple);
    border-color: var(--po-purple);
    color: #fff !important;
    transform: translateY(-1px);
}

.personal-order-list h2 {
    position: relative;
    margin: 24px 0 26px;
    padding-bottom: 16px;
    color: var(--po-text);
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
}

.personal-order-list h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 78px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--po-accent), var(--po-purple));
    transform: translateX(-50%);
}

.personal-order-list .sale-order-list-title-container {
    margin-top: 22px !important;
    padding: 0 !important;
    border: 0;
    border-radius: var(--po-radius) var(--po-radius) 0 0;
    background: linear-gradient(135deg, var(--po-accent), #65c9cf);
    box-shadow: var(--po-shadow);
    overflow: hidden;
}

.personal-order-list .sale-order-list-title-container h3 {
    margin: 0 !important;
    padding: 20px 26px !important;
    color: #fff;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

.personal-order-list .sale-order-list-inner-container {
    padding: 24px 26px 22px !important;
    background: #fff;
    border: 1px solid var(--po-border);
    border-top: 0;
    border-radius: 0 0 var(--po-radius) var(--po-radius);
    box-shadow: var(--po-shadow);
}

.personal-order-list .row.mx-0.mb-5 {
    margin-bottom: 28px !important;
}

.personal-order-list .sale-order-list-inner-title-line-item {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--po-soft);
    border: 1px solid var(--po-border);
    color: var(--po-purple);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.personal-order-list .sale-order-list-inner-title-line {
    height: 1px;
    margin: 0;
    border: 0;
    background: var(--po-border);
}

.personal-order-list .sale-order-list-inner-row-body {
    min-width: 0;
}

.personal-order-list .sale-order-list-inner-row {
    align-items: center;
}

.personal-order-list .sale-order-list-payment,
.personal-order-list .sale-order-list-shipment-title,
.personal-order-list .sale-order-list-shipment-status,
.personal-order-list .sale-order-list-shipment-item {
    color: var(--po-text);
    font-size: 15px;
    line-height: 1.55;
}

.personal-order-list .sale-order-list-payment {
    padding: 16px 18px;
    border: 1px solid var(--po-border);
    border-radius: 14px;
    background: var(--po-soft);
}

.personal-order-list .sale-order-list-payment-title,
.personal-order-list .sale-order-list-shipment-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--po-text);
}

.personal-order-list .sale-order-list-payment-title-element {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--po-border);
    color: var(--po-muted);
    font-size: 13px;
    font-weight: 700;
}

.personal-order-list .sale-order-list-payment-price {
    margin-top: 10px !important;
}

.personal-order-list .sale-order-list-payment-element,
.personal-order-list .sale-order-list-shipment-status-item {
    color: var(--po-muted);
}

.personal-order-list .sale-order-list-payment-number {
    color: var(--po-purple);
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.personal-order-list .sale-order-list-status-alert,
.personal-order-list .sale-order-list-status-success {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.personal-order-list .sale-order-list-status-alert {
    background: var(--po-danger-bg);
    color: var(--po-danger);
}

.personal-order-list .sale-order-list-status-success {
    background: var(--po-success-bg);
    color: var(--po-success);
}

.personal-order-list .sale-order-list-change-payment,
.personal-order-list .sale-order-list-cancel-payment {
    margin-top: 10px;
    color: var(--po-purple) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(166,90,145,.45);
}

.personal-order-list .sale-order-list-change-payment:hover,
.personal-order-list .sale-order-list-cancel-payment:hover {
    color: var(--po-purple-dark) !important;
    border-bottom-color: transparent;
}

.personal-order-list .sale-order-list-inner-row-template {
    display: none;
}

.personal-order-list .sale-order-list-shipment-element,
.personal-order-list .sale-order-list-shipment-status-block {
    font-weight: 700;
}

.personal-order-list .sale-order-list-shipment-status-block {
    color: var(--po-accent-dark);
}

.personal-order-list .sale-order-list-button-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.personal-order-list .btn,
.personal-order-list .btn-primary,
.personal-order-list .ajax_reload,
.personal-order-list .sale-order-list-about-link,
.personal-order-list .sale-order-list-repeat-link,
.personal-order-list .sale-order-list-cancel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 18px;
    border: 0 !important;
    border-radius: 999px;
    font-size: 14px !important;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transition: .2s ease;
}

.personal-order-list .btn-primary,
.personal-order-list .ajax_reload,
.personal-order-list .sale-order-list-repeat-link {
    background: var(--po-purple) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(166,90,145,.22);
}

.personal-order-list .btn-primary:hover,
.personal-order-list .ajax_reload:hover,
.personal-order-list .sale-order-list-repeat-link:hover {
    background: var(--po-purple-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.personal-order-list .sale-order-list-about-link {
    background: var(--po-soft);
    border: 1px solid var(--po-border) !important;
    color: var(--po-accent-dark) !important;
}

.personal-order-list .sale-order-list-about-link:hover {
    background: var(--po-accent);
    border-color: var(--po-accent) !important;
    color: #fff !important;
}

.personal-order-list .sale-order-list-cancel-link {
    background: var(--po-danger-bg);
    color: var(--po-danger) !important;
}

.personal-order-list .sale-order-list-cancel-link:hover {
    background: var(--po-danger);
    color: #fff !important;
}

.personal-order-list .sale-order-list-about-container,
.personal-order-list .sale-order-list-repeat-container,
.personal-order-list .sale-order-list-cancel-container {
    margin-top: 8px;
}

.personal-order-list .row.pb-3.sale-order-list-inner-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-bottom: 0 !important;
}

.personal-order-list .row.pb-3.sale-order-list-inner-row > .col {
    display: none;
}

.personal-order-list .row.pb-3.sale-order-list-inner-row > .col-auto {
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 767px) {
    .personal-order-list {
        margin: 25px auto 50px;
    }

    .personal-order-list h2 {
        font-size: 22px;
    }

    .personal-order-list .sale-order-list-title-container h3 {
        padding: 17px 18px !important;
        font-size: 17px;
    }

    .personal-order-list .sale-order-list-inner-container {
        padding: 20px 18px !important;
    }

    .personal-order-list .sale-order-list-payment-title-element,
    .personal-order-list .sale-order-list-status-alert,
    .personal-order-list .sale-order-list-status-success {
        margin: 8px 6px 0 0;
    }

    .personal-order-list .sale-order-list-payment-number {
        display: block;
        margin-top: 4px;
    }

    .personal-order-list .sale-order-list-button-container {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .personal-order-list .btn,
    .personal-order-list .btn-primary,
    .personal-order-list .ajax_reload,
    .personal-order-list .sale-order-list-about-link,
    .personal-order-list .sale-order-list-repeat-link,
    .personal-order-list .sale-order-list-cancel-link {
        width: 100%;
    }

    .personal-order-list .row.pb-3.sale-order-list-inner-row > .col-auto {
        width: 100%;
    }
}

/* =========================================================
   101GEM — modern personal orders page fixes
   Исправление страницы заказов: нормальная ширина, сетка, карточки.
   ========================================================= */

.personal-order-list {
    --orders-accent: #56bfd0;
    --orders-accent-dark: #47aebe;
    --orders-purple: #a65a91;
    --orders-purple-dark: #91497e;
    --orders-text: #2f2f2f;
    --orders-muted: #6f6f6f;
    --orders-border: #e3edf0;
    --orders-soft: #f8fbfc;
    --orders-error-bg: #fff0f2;
    --orders-error: #c46a78;
    --orders-success-bg: #edf9f4;
    --orders-success: #3f9d69;
    --orders-radius: 22px;
    --orders-shadow: 0 16px 40px rgba(0,0,0,.055);

    width: 100%;
    max-width: 100%;
    margin: 35px auto 60px;
    color: var(--orders-text);
}

/* Сброс bootstrap-узких колонок внутри списка заказов */
.personal-order-list .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.personal-order-list .col,
.personal-order-list [class*="col-"] {
    min-width: 0;
    box-sizing: border-box;
}

/* Верхняя ссылка "Посмотреть историю заказов" */
.personal-order-list > .row:first-child {
    margin: 0 0 22px !important;
}

.personal-order-list > .row:first-child .col {
    padding: 0 !important;
}

.personal-order-list > .row:first-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    background: #eef8fa;
    color: var(--orders-accent-dark) !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.personal-order-list > .row:first-child a:hover {
    background: var(--orders-accent);
    color: #fff !important;
}

/* Заголовки групп заказов */
.personal-order-list h2 {
    position: relative;
    width: 100%;
    margin: 18px 0 26px !important;
    padding-bottom: 18px;
    color: var(--orders-text);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.personal-order-list h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 78px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orders-accent), var(--orders-purple));
    transform: translateX(-50%);
}

/* Шапка конкретного заказа */
.personal-order-list .sale-order-list-title-container {
    width: 100% !important;
    margin: 28px 0 0 !important;
    padding: 0 !important;
    border-radius: var(--orders-radius) var(--orders-radius) 0 0;
    background: linear-gradient(135deg, var(--orders-accent), var(--orders-accent-dark));
    box-shadow: 0 14px 34px rgba(78,178,195,.18);
    overflow: hidden;
}

.personal-order-list .sale-order-list-title-container h3,
.personal-order-list .sale-order-list-title-container .col {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 28px !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: .01em;
}

/* Общий контейнер одного заказа */
.personal-order-list .sale-order-list-title-container + .row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
    border: 1px solid var(--orders-border);
    border-top: 0;
    border-radius: 0 0 var(--orders-radius) var(--orders-radius);
    background: #fff;
    box-shadow: var(--orders-shadow);
    overflow: hidden;
}

.personal-order-list .sale-order-list-inner-container {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 26px 28px 28px !important;
    background: #fff;
    box-sizing: border-box;
}

/* Полоски "Оплата" / "Доставка" */
.personal-order-list .sale-order-list-inner-title-line-item {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 15px;
    border: 1px solid var(--orders-border);
    border-radius: 999px;
    background: #fff;
    color: var(--orders-purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.personal-order-list .sale-order-list-inner-title-line {
    height: 1px;
    margin: 0;
    border: 0;
    background: var(--orders-border);
}

/* Внутренние строки не должны превращаться в узкую колонку */
.personal-order-list .sale-order-list-inner-row {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    gap: 18px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.personal-order-list .sale-order-list-inner-row > .col,
.personal-order-list .sale-order-list-inner-row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 1 1 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Основной body внутри оплаты */
.personal-order-list .sale-order-list-inner-row-body {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    padding: 0 !important;
}

.personal-order-list .sale-order-list-inner-row-body > .row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin: 0 !important;
}

/* Карточки оплаты */
.personal-order-list .sale-order-list-payment {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 22px !important;
    border: 1px solid var(--orders-border);
    border-radius: 18px;
    background: var(--orders-soft);
    box-shadow: 0 8px 22px rgba(0,0,0,.025);
}

/* Доставка */
.personal-order-list .sale-order-list-shipment-title,
.personal-order-list .sale-order-list-shipment-status,
.personal-order-list .sale-order-list-shipment-item {
    font-size: 15px;
    line-height: 1.55;
    color: var(--orders-text);
}

.personal-order-list .sale-order-list-shipment-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px !important;
    font-weight: 700;
}

.personal-order-list .sale-order-list-shipment-status {
    margin-bottom: 8px !important;
}

.personal-order-list .sale-order-list-shipment-status-item,
.personal-order-list .sale-order-list-payment-element {
    color: var(--orders-muted);
}

.personal-order-list .sale-order-list-shipment-status-block {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    background: #eef8fa;
    color: var(--orders-accent-dark);
    font-weight: 700;
}

/* Текст оплаты */
.personal-order-list .sale-order-list-payment-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px !important;
    color: var(--orders-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.personal-order-list .sale-order-list-payment-title-element {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(166,90,145,.09);
    color: var(--orders-purple);
    font-size: 13px;
    font-weight: 700;
}

.personal-order-list .sale-order-list-payment-price {
    margin: 8px 0 12px !important;
    color: var(--orders-muted);
    font-size: 15px;
    line-height: 1.45;
}

.personal-order-list .sale-order-list-payment-number {
    display: inline-block;
    margin-left: 8px;
    color: var(--orders-purple);
    font-size: 24px;
    font-weight: 800;
    white-space: nowrap;
}

/* Статусы */
.personal-order-list .sale-order-list-status-alert,
.personal-order-list .sale-order-list-status-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.personal-order-list .sale-order-list-status-alert {
    border: 1px solid rgba(196,106,120,.3);
    background: var(--orders-error-bg);
    color: var(--orders-error);
}

.personal-order-list .sale-order-list-status-success {
    border: 1px solid rgba(63,157,105,.25);
    background: var(--orders-success-bg);
    color: var(--orders-success);
}

/* Кнопка оплатить */
.personal-order-list .sale-order-list-button-container {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
}

.personal-order-list .sale-order-list-button-container .btn,
.personal-order-list .sale-order-list-button-container .btn-primary,
.personal-order-list .ajax_reload {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--orders-purple) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(166,90,145,.22);
    transition: .2s ease;
}

.personal-order-list .sale-order-list-button-container .btn:hover,
.personal-order-list .ajax_reload:hover {
    background: var(--orders-purple-dark) !important;
    transform: translateY(-1px);
}

/* Смена оплаты */
.personal-order-list .sale-order-list-change-payment {
    display: inline-flex !important;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(166,90,145,.09);
    color: var(--orders-purple) !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition: .2s ease;
}

.personal-order-list .sale-order-list-change-payment:hover {
    background: var(--orders-purple);
    color: #fff !important;
}

/* Техническая колонка смены оплаты не должна давать узкую колонку */
.personal-order-list .sale-order-list-inner-row-template {
    display: none !important;
}

/* Нижние действия */
.personal-order-list .sale-order-list-about-container,
.personal-order-list .sale-order-list-repeat-container,
.personal-order-list .sale-order-list-cancel-container {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
}

.personal-order-list .sale-order-list-about-link,
.personal-order-list .sale-order-list-repeat-link,
.personal-order-list .sale-order-list-cancel-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px !important;
    font-weight: 800;
    text-decoration: none !important;
    transition: .2s ease;
}

.personal-order-list .sale-order-list-about-link {
    background: #eef8fa;
    color: var(--orders-accent-dark) !important;
}

.personal-order-list .sale-order-list-repeat-link {
    background: var(--orders-purple);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(166,90,145,.18);
}

.personal-order-list .sale-order-list-cancel-link {
    background: #fff2f4;
    color: #d26c7b !important;
}

.personal-order-list .sale-order-list-about-link:hover {
    background: var(--orders-accent);
    color: #fff !important;
}

.personal-order-list .sale-order-list-repeat-link:hover {
    background: var(--orders-purple-dark);
    color: #fff !important;
}

.personal-order-list .sale-order-list-cancel-link:hover {
    background: #d26c7b;
    color: #fff !important;
}

/* Нижняя строка действий */
.personal-order-list .sale-order-list-inner-container > .sale-order-list-inner-row:last-child,
.personal-order-list .sale-order-list-inner-container > .row.pb-3 {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Убираем пустые колонки, которые раздвигают сетку */
.personal-order-list .sale-order-list-inner-container .col:empty {
    display: none;
}

/* Адаптив */
@media (max-width: 991px) {
    .personal-order-list .sale-order-list-inner-row-body > .row {
        grid-template-columns: 1fr;
    }

    .personal-order-list .sale-order-list-button-container {
        width: 100% !important;
    }

    .personal-order-list .sale-order-list-button-container .btn,
    .personal-order-list .ajax_reload {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .personal-order-list {
        margin-top: 24px;
    }

    .personal-order-list h2 {
        font-size: 22px;
    }

    .personal-order-list .sale-order-list-title-container h3,
    .personal-order-list .sale-order-list-title-container .col {
        padding: 20px !important;
        font-size: 18px !important;
    }

    .personal-order-list .sale-order-list-inner-container {
        padding: 18px !important;
    }

    .personal-order-list .sale-order-list-payment {
        padding: 18px !important;
    }

    .personal-order-list .sale-order-list-payment-number {
        display: block;
        margin: 6px 0 0;
        font-size: 22px;
    }

    .personal-order-list .sale-order-list-about-container,
    .personal-order-list .sale-order-list-repeat-container,
    .personal-order-list .sale-order-list-cancel-container {
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    .personal-order-list .sale-order-list-about-link,
    .personal-order-list .sale-order-list-repeat-link,
    .personal-order-list .sale-order-list-cancel-link {
        width: 100%;
    }
}

/* =========================================================
   101GEM — HARD FIX personal orders full-width layout
   Исправляет узкую колонку на странице заказов.
   ========================================================= */

/* Контейнер страницы */
.personal-order-list {
    width: 100% !important;
    max-width: 1170px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Все row внутри заказов — без отрицательных Bootstrap-отступов */
.personal-order-list .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Все col внутри заказов — убираем bootstrap max-width/flex, где он сужает блок */
.personal-order-list .col,
.personal-order-list .col-auto,
.personal-order-list .col-sm-auto,
.personal-order-list .col-lg-3,
.personal-order-list .col-md-4,
.personal-order-list .col-6 {
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Шапка заказа на всю ширину */
.personal-order-list .sale-order-list-title-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.personal-order-list .sale-order-list-title-container h3,
.personal-order-list .sale-order-list-title-container .col {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Карточка заказа под шапкой на всю ширину */
.personal-order-list .sale-order-list-title-container + .row {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Главный внутренний контейнер должен занимать всю ширину, а не левую колонку */
.personal-order-list .sale-order-list-inner-container,
.personal-order-list .sale-order-list-title-container + .row > .col,
.personal-order-list .sale-order-list-title-container + .row > [class*="col"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
}

/* Каждая строка внутри заказа — полная ширина */
.personal-order-list .sale-order-list-inner-container > .row,
.personal-order-list .sale-order-list-inner-row {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Блок оплаты — не колонка 200px, а нормальная карточка */
.personal-order-list .sale-order-list-inner-row-body {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.personal-order-list .sale-order-list-inner-row-body > .row {
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.personal-order-list .sale-order-list-inner-row-body > .row > .col,
.personal-order-list .sale-order-list-inner-row-body > .row > [class*="col"] {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

/* Сама карточка оплаты */
.personal-order-list .sale-order-list-payment {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
    padding: 22px 24px !important;
    border: 1px solid var(--orders-border, #e3edf0) !important;
    border-radius: 18px !important;
    background: var(--orders-soft, #f8fbfc) !important;
}

/* Кнопка оплаты справа, но не ломает ширину */
.personal-order-list .sale-order-list-button-container {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
}

/* Скрываем техническую колонку, из-за нее часто образуется пустота */
.personal-order-list .sale-order-list-inner-row-template {
    display: none !important;
}

/* Доставка — делаем отдельной широкой карточкой.
   В шаблоне Bitrix у доставки нет отдельного wrapper-класса,
   поэтому цепляем строку, которая идет после заголовка "Доставка". */
.personal-order-list .sale-order-list-inner-title-line-item {
    position: relative;
}

.personal-order-list .sale-order-list-inner-container > .row.mb-3:not(.align-items-center):not(.sale-order-list-inner-row) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px 24px !important;
    margin-bottom: 22px !important;
    border: 1px solid var(--orders-border, #e3edf0) !important;
    border-radius: 18px !important;
    background: var(--orders-soft, #f8fbfc) !important;
}

.personal-order-list .sale-order-list-inner-container > .row.mb-3:not(.align-items-center):not(.sale-order-list-inner-row) > .col,
.personal-order-list .sale-order-list-inner-container > .row.mb-3:not(.align-items-center):not(.sale-order-list-inner-row) > [class*="col"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}

/* Текст доставки не должен дробиться по одному слову */
.personal-order-list .sale-order-list-shipment-title,
.personal-order-list .sale-order-list-shipment-element,
.personal-order-list .sale-order-list-shipment-status,
.personal-order-list .sale-order-list-shipment-item {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* Нижние кнопки действий — нормальная строка на всю ширину */
.personal-order-list .sale-order-list-inner-container > .row.pb-3,
.personal-order-list .sale-order-list-inner-container > .sale-order-list-inner-row:last-child {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.personal-order-list .sale-order-list-inner-container > .row.pb-3 > .col,
.personal-order-list .sale-order-list-inner-container > .row.pb-3 > .col-auto,
.personal-order-list .sale-order-list-inner-container > .row.pb-3 > [class*="col"] {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
}

.personal-order-list .sale-order-list-inner-container > .row.pb-3 > .col:empty {
    display: none !important;
}

/* Убираем вертикальную линию/визуальную границу, которая остается от bootstrap/старых стилей */
.personal-order-list .sale-order-list-title-container + .row,
.personal-order-list .sale-order-list-inner-container,
.personal-order-list .sale-order-list-inner-row,
.personal-order-list .sale-order-list-inner-row-body,
.personal-order-list .sale-order-list-payment {
    border-left-color: var(--orders-border, #e3edf0) !important;
}

/* Desktop: оплата + кнопка */
@media (min-width: 992px) {
    .personal-order-list .sale-order-list-inner-row-body > .row {
        grid-template-columns: none !important;
    }

    .personal-order-list .sale-order-list-payment {
        min-height: 130px;
    }
}

/* Mobile */
@media (max-width: 991px) {
    .personal-order-list .sale-order-list-inner-row-body > .row {
        display: block !important;
    }

    .personal-order-list .sale-order-list-button-container {
        width: 100% !important;
        margin-top: 14px !important;
    }

    .personal-order-list .sale-order-list-button-container .btn,
    .personal-order-list .ajax_reload {
        width: 100% !important;
    }
}

@media (max-width: 640px) {
    .personal-order-list .sale-order-list-inner-container,
    .personal-order-list .sale-order-list-title-container + .row > .col,
    .personal-order-list .sale-order-list-title-container + .row > [class*="col"] {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .personal-order-list .sale-order-list-payment,
    .personal-order-list .sale-order-list-inner-container > .row.mb-3:not(.align-items-center):not(.sale-order-list-inner-row) {
        padding: 18px !important;
    }
}

/* =========================================================
   101GEM — modern private profile page
   Страница личных данных пользователя /personal/private/
   ========================================================= */

.bx_profile {
    --profile-accent: #56bfd0;
    --profile-accent-dark: #47aebe;
    --profile-purple: #a65a91;
    --profile-purple-dark: #91497e;
    --profile-text: #2f2f2f;
    --profile-muted: #747474;
    --profile-border: #e3edf0;
    --profile-soft: #f8fbfc;
    --profile-radius: 22px;
    --profile-shadow: 0 16px 40px rgba(0,0,0,.055);

    width: 100%;
    max-width: 920px;
    margin: 35px auto 70px;
    color: var(--profile-text);
}

/* Основная карточка */
.bx_profile > form {
    position: relative;
    padding: 34px 38px 36px;
    border: 1px solid var(--profile-border);
    border-radius: var(--profile-radius);
    background: #fff;
    box-shadow: var(--profile-shadow);
    overflow: hidden;
}

.bx_profile > form:before {
    content: "Личные данные";
    display: block;
    margin: -34px -38px 30px;
    padding: 24px 38px;
    background: linear-gradient(135deg, var(--profile-accent), var(--profile-accent-dark));
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
}

/* Bootstrap-сетка внутри профиля */
.bx_profile .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

.bx_profile .col,
.bx_profile .col-12,
.bx_profile [class*="col-"] {
    min-width: 0;
    box-sizing: border-box;
}

/* Даты */
.bx_profile .main-profile-block-date-info {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 28px !important;
}

.bx_profile .main-profile-block-date-info .col-12 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 20px !important;
    border: 1px solid var(--profile-border);
    border-radius: 16px;
    background: var(--profile-soft);
}

.bx_profile .main-profile-block-date-info strong {
    display: block;
    color: var(--profile-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.bx_profile .main-profile-block-date-info strong + strong {
    margin-top: 4px;
    color: var(--profile-purple);
    font-size: 18px;
    font-weight: 800;
}

/* Поля формы */
.bx_profile .form-group {
    display: grid !important;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin: 0 0 18px !important;
}

.bx_profile .main-profile-form-label,
.bx_profile .col-form-label {
    width: auto !important;
    max-width: none !important;
    padding: 13px 0 0 !important;
    color: var(--profile-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.bx_profile .form-group > div {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* Inputs */
.bx_profile .form-control,
.bx_profile input[type="text"],
.bx_profile input[type="email"],
.bx_profile input[type="password"],
.bx_profile input[type="tel"],
.bx_profile input[type="number"] {
    width: 100% !important;
    min-height: 48px;
    padding: 12px 15px;
    border: 1px solid #dfe8eb;
    border-radius: 13px;
    background: #fbfbfb;
    color: var(--profile-text);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.35;
    outline: none;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    box-sizing: border-box;
}

.bx_profile .form-control:focus,
.bx_profile input[type="text"]:focus,
.bx_profile input[type="email"]:focus,
.bx_profile input[type="password"]:focus,
.bx_profile input[type="tel"]:focus,
.bx_profile input[type="number"]:focus {
    border-color: var(--profile-accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(86,191,208,.16);
}

/* Подсказка пароля */
.bx_profile .form-text,
.bx_profile .text-muted,
.bx_profile small {
    display: block;
    margin-top: 8px;
    color: var(--profile-muted);
    font-size: 13px;
    line-height: 1.45;
}

/* Кнопки */
.bx_profile input[type="submit"],
.bx_profile .btn,
.bx_profile .btn-primary,
.bx_profile .btn-link,
.bx_profile .main-profile-submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 8px 10px 0 0;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: .2s ease;
}

.bx_profile .main-profile-submit,
.bx_profile input[name="save"],
.bx_profile .btn-primary {
    background: var(--profile-purple) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(166,90,145,.22);
}

.bx_profile .main-profile-submit:hover,
.bx_profile input[name="save"]:hover,
.bx_profile .btn-primary:hover {
    background: var(--profile-purple-dark) !important;
    transform: translateY(-1px);
}

.bx_profile input[name="reset"],
.bx_profile .btn-link {
    background: #eef8fa !important;
    color: var(--profile-accent-dark) !important;
    box-shadow: none;
}

.bx_profile input[name="reset"]:hover,
.bx_profile .btn-link:hover {
    background: var(--profile-accent) !important;
    color: #fff !important;
}

/* Социальные профили */
.bx_profile .main-profile-social-block {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 28px;
    padding: 30px 34px;
    border: 1px solid var(--profile-border);
    border-radius: var(--profile-radius);
    background: #fff;
    box-shadow: var(--profile-shadow);
}

.bx_profile .soc-serv-main {
    width: 100%;
}

.bx_profile .soc-serv-title-grey {
    margin: 0 0 18px;
    color: var(--profile-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}

.bx_profile .soc-serv-title-grey br {
    display: none;
}

.bx_profile .bx-auth-serv-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.bx_profile .bx-auth-serv-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--profile-border);
    border-radius: 14px;
    background: var(--profile-soft);
    transition: .2s ease;
}

.bx_profile .bx-auth-serv-icons a:hover {
    border-color: var(--profile-accent);
    background: #fff;
    box-shadow: 0 8px 20px rgba(86,191,208,.15);
    transform: translateY(-1px);
}

.bx_profile .soc-serv-title {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin: 0 0 14px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(166,90,145,.09);
    color: var(--profile-purple);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Таблица связанных профилей */
.bx_profile .soc-serv-accounts {
    width: 100%;
    overflow-x: auto;
}

.bx_profile .soc-serv-accounts table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--profile-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.bx_profile .soc-serv-accounts td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--profile-border);
    color: var(--profile-text);
    font-size: 14px;
}

.bx_profile .soc-serv-header td {
    background: var(--profile-soft);
    color: var(--profile-muted);
    font-weight: 800;
}

/* Скрытые формы соц. авторизации */
.bx_profile .bx-auth-service-form {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid var(--profile-border);
    border-radius: 16px;
    background: var(--profile-soft);
}

.bx_profile .bx-auth-service-form input[type="text"] {
    max-width: 320px;
    margin: 0 8px;
}

.bx_profile .bx-auth-service-form input[type="submit"],
.bx_profile .bx-auth-service-form .button {
    min-height: 40px;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: var(--profile-purple) !important;
    color: #fff !important;
}

/* Адаптив */
@media (max-width: 991px) {
    .bx_profile {
        max-width: 100%;
        margin-top: 28px;
    }

    .bx_profile > form {
        padding: 28px 28px 30px;
    }

    .bx_profile > form:before {
        margin: -28px -28px 26px;
        padding: 22px 28px;
        font-size: 24px;
    }

    .bx_profile .main-profile-block-date-info {
        grid-template-columns: 1fr;
    }

    .bx_profile .form-group {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .bx_profile .main-profile-form-label,
    .bx_profile .col-form-label {
        padding-top: 0 !important;
    }
}

@media (max-width: 640px) {
    .bx_profile > form,
    .bx_profile .main-profile-social-block {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .bx_profile > form:before {
        margin: -22px -18px 22px;
        padding: 20px 18px;
        font-size: 21px;
    }

    .bx_profile input[type="submit"],
    .bx_profile .btn {
        width: 100%;
        margin-right: 0;
    }

    .bx_profile .soc-serv-title-grey {
        font-size: 16px;
    }
}

/* =========================================================
   101GEM — HARD FIX private profile full-width form
   Исправляет узкие инпуты и делает форму на всю ширину.
   ========================================================= */

/* Контейнер */
.bx_profile {
    width: 100% !important;
    max-width: 920px !important;
    margin: 35px auto 70px !important;
}

/* Карточка формы */
.bx_profile > form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Сброс bootstrap-сетки только внутри профиля */
.bx_profile .main-profile-block-shown,
.bx_profile #user_div_reg {
    width: 100% !important;
    max-width: 100% !important;
}

.bx_profile .row {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.bx_profile .col,
.bx_profile .col-12,
.bx_profile .col-sm-4,
.bx_profile .col-sm-8,
.bx_profile .col-md-3,
.bx_profile .col-md-9,
.bx_profile [class*="col-"] {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    flex-basis: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* Блок дат — две широкие карточки */
.bx_profile .main-profile-block-date-info {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin: 0 0 30px !important;
}

.bx_profile .main-profile-block-date-info .col-12 {
    padding: 18px 20px !important;
}

/* Главная форма — красивая сетка label + input */
.bx_profile .main-profile-block-shown > .row:not(.main-profile-block-date-info) {
    display: block !important;
}

.bx_profile .main-profile-block-shown > .row:not(.main-profile-block-date-info) > .col-12 {
    display: block !important;
    width: 100% !important;
}

/* Каждая строка поля */
.bx_profile .form-group.row,
.bx_profile .form-group {
    display: grid !important;
    grid-template-columns: 230px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
}

/* Label */
.bx_profile .main-profile-form-label,
.bx_profile .col-form-label,
.bx_profile .form-group label {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: var(--profile-text, #2f2f2f) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

/* Правая колонка с input */
.bx_profile .form-group > div,
.bx_profile .form-group .col-sm-8,
.bx_profile .form-group .col-md-9 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
}

/* Инпуты — на всю доступную ширину */
.bx_profile .form-control,
.bx_profile input[type="text"],
.bx_profile input[type="email"],
.bx_profile input[type="password"],
.bx_profile input[type="tel"],
.bx_profile input[type="number"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 12px 15px !important;
    border: 1px solid #dfe8eb !important;
    border-radius: 13px !important;
    background: #fbfbfb !important;
    color: var(--profile-text, #2f2f2f) !important;
    font-family: inherit !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    box-sizing: border-box !important;
}

/* Подсказка под паролем — нормальная строка */
.bx_profile .form-text,
.bx_profile .text-muted,
.bx_profile small {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 8px !important;
    color: var(--profile-muted, #747474) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
}

/* Кнопки — в одну строку, без узкой колонки */
.bx_profile > form > .row:last-of-type,
.bx_profile > form > .row:last-of-type .col {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.bx_profile input[type="submit"],
.bx_profile .btn,
.bx_profile .btn-primary,
.bx_profile .btn-link,
.bx_profile .main-profile-submit {
    width: auto !important;
    min-width: 130px !important;
    margin: 10px 0 0 !important;
}

/* Соц.блок тоже на всю ширину */
.bx_profile .main-profile-social-block {
    display: block !important;
    width: 100% !important;
    max-width: 920px !important;
    margin: 28px auto 0 !important;
    box-sizing: border-box !important;
}

.bx_profile .main-profile-social-block .col-sm-12,
.bx_profile .main-profile-social-block [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
}

/* Mobile */
@media (max-width: 768px) {
    .bx_profile {
        max-width: 100% !important;
        margin-top: 24px !important;
    }

    .bx_profile .main-profile-block-date-info {
        grid-template-columns: 1fr !important;
    }

    .bx_profile .form-group.row,
    .bx_profile .form-group {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .bx_profile input[type="submit"],
    .bx_profile .btn,
    .bx_profile .btn-primary,
    .bx_profile .btn-link,
    .bx_profile .main-profile-submit {
        width: 100% !important;
    }
}
