.goods__block .__image {
    position: relative;
    overflow: hidden;
}

.goods__block .__image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.header__bottom__outer.catalog {
    position: absolute;
    z-index: 999;
    left: 0;
}

.basket__goods__array .basket__goods__block .__description .__name, .goods-line__block .goods-line__description .__name, .goods__block .__name, .goods__block__set .__name, .goods__of__the__day .__name {
    text-transform: none;
}

.goods__block ul.__description {
    padding-bottom: 0;
}

.goods__block .__price {
    padding-top: 8px;
    padding-bottom: 8px;
}

.__subwindow {
    box-shadow: 5px 5px 15px rgba(0,0,0,.1);
}

.body__empty {
    font: 16px/24px Arial, Helvetica, sans-serif;
}


/**********************************************************************************************************/
ul.Breadcrumbs li:first-child {white-space: nowrap;}
ul.Breadcrumbs li h1 {line-height: 1em;}

ul.header__top__nav {
    display: block;
    width: 100%;
    word-spacing: -3px;
}
ul.header__top__nav li {
    display: inline-block;
    vertical-align: middle;
    word-spacing: normal;
    margin-right: 34px;
    position: relative;
}
ul.header__top__nav li:last-child:after {
    display: none
}
ul.header__top__nav li:after {
    content: '';
    width: 1px;
    height: 11px;
    position: absolute;
    top: 2px;
    right: -17px;
    background-color: #7d8584;
}
ul.header__top__nav li a {
    font: 1.1rem/1em Arial,Helvetica,sans-serif;
    color: #545D5C;
    text-transform: uppercase;
}

.catalog-page__outer .__inner .catalog__columns .catalog__content .__content__top .__Description {
    font-size: 13px;
    line-height: 22px;
}

ul.__level-1>li {
    margin-bottom: 5px;
}
ul.__level-1>li>a {
    font-family: 'Roboto',sans-serif;
}
ul.__level-1>li>a.red {
    color:#d71b22 !important;
    border-bottom: 1px solid #d71b22 !important;
}

.catalog__container .goods__array {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
}
.catalog__container .goods__array .goods__block {
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
	justify-content: flex-start;
}

.brands__array {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap:wrap;
    justify-content: flex-start;
    align-items: stretch;
}

.catalog__container .goods__array .goods-line__block {
    border-bottom: 1px solid #d1d1d1;
    margin-bottom: 20px;
}
.goods-line__block ul.__description {
    padding: 8px 0 10px;
}
.goods-line__block ul.__description li {
    display: block;
    font: 1.4rem/1.571428571428571em Arial,Helvetica,sans-serif;
    color: #545d5c;
    position: relative;
    padding-left: 12px;
    margin-bottom: 4px;
}
.goods-line__block ul.__description li:before {
    content: '';
    position: absolute;
    z-index: 9;
    top: 10px;
    left: 0;
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #545d5c;
}

.catalog__show-more {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 24px 0 8px;
}

.catalog__show-more .catalog__show-more-btn {
    min-width: 220px;
    text-align: center;
    cursor: pointer;
}

.catalog__show-more .catalog__show-more-btn.__loading {
    opacity: 0.6;
    pointer-events: none;
}

.catalog__sidebar-subcats {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ebebeb;
}

.catalog__sidebar-subcats__back,
.catalog__sidebar-subcats__title {
    display: block;
    font: 700 1.5rem/1.3 Arial, Helvetica, sans-serif;
    color: #010101;
    margin-bottom: 12px;
    text-decoration: none;
}

.catalog__sidebar-subcats__back:before {
    content: '<';
    margin-right: 6px;
    color: #d71b22;
}

.catalog__sidebar-subcats__back:hover {
    color: #d71b22;
}

.catalog__sidebar-subcats__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.catalog__sidebar-subcats__list li {
    margin: 0 0 8px;
}

.catalog__sidebar-subcats__list li a {
    font: 1.4rem/1.4 Arial, Helvetica, sans-serif;
    color: #545d5c;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.catalog__sidebar-subcats__list li a:hover,
.catalog__sidebar-subcats__list li.is-current a {
    color: #d71b22;
    border-bottom-color: #d71b22;
}

.catalog-catalogov__block.is-current {
    outline: 2px solid #d71b22;
}

.item-info-section {
    margin-bottom: 32px;
}

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

.item-info-section__title {
    font: 700 2rem/1.3 Arial, Helvetica, sans-serif;
    color: #010101;
    margin: 0 0 16px;
}

.item-info-section__content {
    font: 1.4rem/1.57 Arial, Helvetica, sans-serif;
    color: #545d5c;
}

.item-desc-collapse.__active .__text {
    height: auto !important;
}

.item-desc-collapse .__switch__controller {
    display: inline-block;
    margin-top: 12px;
    font: 1.4rem/1 Arial, Helvetica, sans-serif;
    color: #d71b22;
    border-bottom: 1px dotted #d71b22;
    cursor: pointer;
}

.feature-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-block img {
    width: 250px;
    height: 150px;
    margin-right: 20px;
    border-radius: 6px;
    object-fit: cover;
    min-width: 250px;
    border: 1px solid #e1e1e1;
}

.feature-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .feature-block {
        flex-direction: column;
    }
    .feature-block img {
        width: 100%;
        height: 200px;
        min-width: 0;
        margin-right: 0;
        margin-bottom: 12px;
    }
}

.btn__in-cart.in-cart {
    background: -webkit-linear-gradient(to bottom, #0d47a1, #1565c0);
    background: linear-gradient(to bottom, #0d47a1, #1565c0);
}

.btn__in-cart.in-cart:hover {
    background: -webkit-linear-gradient(to bottom, #1565c0, #0d47a1);
    background: linear-gradient(to bottom, #1565c0, #0d47a1);
    box-shadow: 0 1px 3px 1px rgba(13, 71, 161, 0.35);
}

.btn__in-cart.in-cart:active,
.btn__in-cart.in-cart:visited {
    background: #0a3a82;
}

.catalog__catalogov.no-thumbnails .catalog-catalogov__block {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 12px;
}

.header__kp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    padding: 4px 10px;
    border: 1px solid #1982a5;
    color: #1982a5;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}

.header__kp .count_kp {
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1982a5;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.link__in-kp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    min-width: 28px;
    height: 22px;
    padding: 0 6px;
    border: 1px solid #1982a5;
    color: #1982a5;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.link__in-kp.active,
.btn__kp.active {
    background: #1982a5;
    color: #fff;
}

.btn__kp {
    margin-top: 8px;
}

.kp-page h1 {
    margin: 10px 0 20px;
}

.kp-toolbar {
    display: flex;
    gap: 12px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.kp-form-fields {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.kp-form-fields label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 280px;
}

.kp-form-fields input {
    padding: 8px 10px;
    border: 1px solid #ccc;
}

.kp-form-fields .kp-check {
    flex-direction: row;
    align-items: center;
    min-width: auto;
}

.kp-term {
    width: 140px;
    padding: 6px;
    border: 1px solid #ccc;
}

.kp-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.kp-table th,
.kp-table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    vertical-align: middle;
}

.kp-table th {
    background: #f5f5f5;
}

.kp-count {
    width: 70px;
    padding: 6px;
}

.kp-price {
    width: 110px;
    padding: 6px;
    border: 1px solid #ccc;
}

.kp-form-fields .kp-discount {
    min-width: 220px;
}

.kp-discount-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.kp-discount-row input {
    width: 120px;
}

.kp-discount-row select {
    height: 36px;
    padding: 6px 8px;
    border: 1px solid #ccc;
    background: #fff;
}

.kp-saved-title {
    margin: 36px 0 16px;
    font-size: 22px;
}

.kp-saved-empty {
    color: #666;
}

.kp-saved-preview {
    color: #666;
    font-size: 13px;
    margin-top: 4px;
}

.kp-saved-actions {
    white-space: nowrap;
}

.kp-saved-actions a,
.kp-saved-actions .btn__red {
    margin-right: 10px;
    display: inline-block;
}

.kp-saved-table .btn__red {
    padding: 6px 12px;
    font-size: 13px;
}

.header__outer .header__bottom__outer .header__bottom__inner .header__bottom__wrapper__right {
    max-width: 236px;
    min-width: 236px;
}

.header__outer .header__bottom__outer .header__bottom__inner .__icons__wrapper {
    max-width: 190px;
    min-width: 190px;
}

.header__auth {
    position: relative;
    width: 46px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.header__auth i {
    display: none;
}

.header__auth:before {
    content: "\f007";
    font: 900 2rem/1em "Font Awesome 5 Free";
    color: #fff;
    display: block;
}

.header__auth--cabinet:before {
    content: "\f2bd";
}

.header__auth:hover,
.header__auth:hover:before {
    background: transparent;
    color: #fff;
    opacity: 0.85;
}

@media screen and (max-width: 999px) {
    .device__menu .__icons__wrapper,
    .device__basket .__icons__wrapper {
        width: 80%;
    }

    .device__menu .__icons__wrapper .header__auth,
    .device__basket .__icons__wrapper .header__auth,
    .header__my__toolsmart .__subwindow .__icons__wrapper .header__auth {
        margin-right: 10px;
    }

    .device__menu .__icons__wrapper .header__auth:before,
    .device__basket .__icons__wrapper .header__auth:before,
    .header__my__toolsmart .__subwindow .__icons__wrapper .header__auth:before {
        color: #444;
        opacity: 1;
    }
}

#auth_form.window {
    max-width: 440px;
}

.auth-forms {
    font: 600 1.4rem/1.4 Arial, Helvetica, sans-serif;
}

.auth-tabs {
    display: flex;
    gap: 24px;
    margin: 0 0 18px;
    border-bottom: 1px solid #ddd;
}

.auth-tabs a {
    position: relative;
    padding: 8px 0 12px;
    color: #333;
    text-decoration: none;
}

.auth-tabs a.active {
    color: #d71b22;
}

.auth-tabs a.active:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #d71b22;
}

.auth-pane {
    display: none;
}

.auth-pane.active {
    display: block;
}

.auth-form .field-item {
    margin: 0 0 14px;
}

.auth-form .field-item.error input,
.auth-form .field-item.error .form-control {
    border-color: #d71b22;
}

.auth-form .help-block {
    color: #d71b22;
    font-size: 13px;
    margin-top: 6px;
    line-height: 1.3;
}

.auth-form .field-item label {
    display: block;
    margin-bottom: 6px;
}

.auth-form .form-control,
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 15px;
}

.auth-form .sign-in-action-elements {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.auth-form .password-forget,
.auth-form a[data-auth-tab] {
    color: #1982a5;
}

.auth-success {
    text-align: center;
    padding: 8px 0 4px;
}

.auth-success__title {
    font: 700 18px/1.35 Arial, Helvetica, sans-serif;
    margin: 0 0 12px;
}

.auth-success__text {
    margin: 0 0 18px;
    color: #444;
    font-weight: 400;
}

.auth-success .btn__red {
    min-width: 140px;
}

#growls {
    z-index: 1000001 !important;
}

.header-place-ad {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
    padding: 11px 20px 11px 42px;
    border-radius: 24px;
    background: #00ae5d;
    color: #fff;
    font: 700 14px/1.2 Roboto, Arial, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 174, 93, .25);
    transition: background .15s ease, box-shadow .15s ease;
}

.header-place-ad:before {
    content: '+';
    position: absolute;
    left: 16px;
    top: 50%;
    margin-top: -11px;
    width: 18px;
    height: 18px;
    font: 700 18px/18px Arial, sans-serif;
    color: #fff;
}

.header-place-ad:hover {
    background: #06b966;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0, 174, 93, .35);
}

.ad-page__head .header-place-ad {
    margin-left: 0;
}

ul.header__top__nav li.dropmenu {
    position: relative;
}

ul.header__top__nav li.dropmenu .__submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    z-index: 50;
    padding: 8px 0;
}

ul.header__top__nav li.dropmenu:hover .__submenu {
    display: block;
}

ul.header__top__nav li.dropmenu .__submenu li {
    display: block;
    margin: 0;
}

ul.header__top__nav li.dropmenu .__submenu li:after {
    display: none;
}

ul.header__top__nav li.dropmenu .__submenu a {
    display: block;
    padding: 8px 16px;
    text-transform: none;
    font: 14px/1.3 Roboto, Arial, sans-serif;
    color: #333;
}

ul.header__top__nav li.dropmenu .__submenu a:hover {
    background: #f5f5f5;
    color: #cc231e;
}

#content > .ad-page,
#content > .offer-page,
#content > .offer-detail-page {
    flex: 1 0 auto;
    width: 100%;
}

.ad-page__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.ad-page__head h1 {
    margin: 0;
}

.ad-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.ad-cats a {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 16px;
    background: #f2f2f2;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.ad-cats .active a,
.ad-cats a:hover {
    background: #00ae5d;
    color: #fff;
}

.ad-list__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.ad-list__title {
    display: block;
    font: 700 18px/1.3 Roboto, Arial, sans-serif;
    color: #222;
    margin-bottom: 6px;
}

.ad-list__price {
    margin: 0 0 6px;
    font: 800 22px/1.2 Roboto, Arial, sans-serif;
    color: #d71b22;
}

.ad-list__price .tenge {
    font-style: normal;
    font-weight: 800;
}

.ad-list__meta a {
    color: #1982a5;
    text-decoration: none;
}

.ad-list__meta a:hover {
    text-decoration: underline;
}

.ad-list__meta {
    color: #777;
    font-size: 13px;
}

.home-line__outer .goods__block .__image--empty {
    display: block;
    min-height: 180px;
    background: #f4f4f4;
}

.home-line__outer[data-block="ads"] .btn__in-cart {
    text-align: center;
}

.ad-page .ad-form-card {
    max-width: 720px;
    background: #fff;
    padding: 25px;
    box-sizing: border-box;
}

.ad-form .field-item {
    margin: 0 0 18px;
}

.ad-page .ad-form .btn__red,
.ad-page .ad-form-card .btn__red {
    display: inline-block !important;
    margin-top: 8px;
    color: #fff;
    border: 0;
    cursor: pointer;
}

.ad-form .field-item label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.ad-form .help-block {
    color: #d71b22;
    font-size: 13px;
    margin-top: 6px;
}

.ad-form .form-control,
.ad-form input[type="text"],
.ad-form select,
.ad-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 15px;
}

.ad-sent {
    padding: 14px 16px;
    background: #eef9f2;
    border: 1px solid #b7e4c7;
    color: #1b7a3d;
}

.ad-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.ad-dropzone {
    position: relative;
    border: 1px dashed #c5c9d0;
    border-radius: 8px;
    background: #f7f8fa;
    min-height: 168px;
    padding: 28px 16px 20px;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.ad-dropzone.is-drag {
    border-color: #2b7de9;
    background: #eef5ff;
}

.ad-dropzone__input {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ad-dropzone__icon {
    display: inline-block;
    width: 42px;
    height: 32px;
    margin-bottom: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b7de9' stroke-width='1.6'%3E%3Cpath d='M7 18a5 5 0 0 1-.4-10A6 6 0 0 1 18 9a4.5 4.5 0 0 1 .5 9H7z'/%3E%3Cpath d='M12 12v6M9.5 14.5 12 12l2.5 2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ad-dropzone__title {
    color: #2b7de9;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.ad-dropzone__hint {
    color: #8b919a;
    font-size: 13px;
}

.ad-dropzone__preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.ad-dropzone__item {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e5e8;
    cursor: move;
}

.ad-dropzone__item.is-dragging {
    opacity: .45;
}

.ad-dropzone__item.is-over {
    outline: 2px solid #2b7de9;
}

.ad-dropzone__cover {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 174, 93, .9);
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}

.ad-dropzone__add {
    width: 88px;
    height: 88px;
    border: 1px dashed #c5c9d0;
    border-radius: 6px;
    background: #fff;
    color: #2b7de9;
    font-size: 12px;
    cursor: pointer;
}

.ad-dropzone__note,
.ad-form-note {
    color: #8b919a;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 400;
}

.ad-dropzone__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-dropzone__remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.65);
    color: #fff;
    line-height: 18px;
    cursor: pointer;
    z-index: 3;
}

.ad-list__thumb {
    display: block;
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    background: #f2f2f2;
}

.ad-view-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0;
}

.ad-view-photos a,
.ad-view-photos img {
    display: block;
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    background: #f2f2f2;
}

.ad-body {
    white-space: pre-wrap;
    margin-top: 16px;
    line-height: 1.5;
}

.offer-card-page .catalog__content {
    width: 100%;
    background: #fff;
    padding: 20px 30px 40px;
    box-sizing: border-box;
}

.offer-card-page .offer-card {
    padding: 0 0 40px;
    background: #fff;
}

.offer-card-page .item-name {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.25;
}

.offer-card__pub {
    margin: 0 0 20px;
    color: #777;
    font-size: 14px;
    line-height: 1.45;
}

.offer-card__pub a {
    color: #1982a5;
    text-decoration: none;
}

.offer-card__pub a:hover {
    text-decoration: underline;
}

.offer-card__top {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 36px;
}

.offer-card__gallery {
    width: 58%;
    min-width: 0;
}

.offer-card__main {
    display: block;
    background: #f4f4f4;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    overflow: hidden;
}

.offer-card__main img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: contain;
    background: #fff;
}

.offer-card__main--empty {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 18px;
}

.offer-card__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.offer-card__thumb {
    display: block;
    width: 88px;
    height: 72px;
    border: 2px solid #e4e4e4;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.offer-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-card__thumb.is-active,
.offer-card__thumb:hover {
    border-color: #d71b22;
}

.offer-card__info {
    width: 42%;
    min-width: 260px;
    padding: 24px;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
}

.offer-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 20px;
    color: #777;
    font-size: 15px;
}

.offer-card__meta a {
    color: #1982a5;
}

.offer-card__price {
    margin: 0 0 22px;
    font: 800 46px/1.1 Roboto, Arial, sans-serif;
    color: #d71b22;
    letter-spacing: -0.02em;
}

.offer-card__price .tenge {
    font-style: normal;
    font-weight: 800;
    font-size: 0.8em;
}

.offer-card__dates {
    margin-bottom: 8px;
}

.offer-card__dates .offer-card__value {
    font-size: 18px;
}

.offer-card__contact {
    margin-bottom: 16px;
}

.offer-card__label {
    color: #888;
    font-size: 14px;
    margin-bottom: 4px;
}

.offer-card__value,
.offer-card__phone {
    font-size: 20px;
    line-height: 1.35;
    color: #111;
    font-weight: 700;
}

.offer-card__phone {
    text-decoration: none;
}

.offer-card__phone.is-masked {
    cursor: pointer;
    border-bottom: 1px dashed #111;
}

.offer-card__phone-hint {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 400;
    color: #888;
}

.offer-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.offer-card__call,
.offer-card__wa {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.offer-card__wa {
    background: #25d366;
    color: #fff !important;
    font: 700 16px/1 Roboto, Arial, sans-serif;
    border-radius: 20px;
    padding: 13px 20px;
}

.offer-card__wa:hover {
    background: #1ebe57;
    color: #fff !important;
}

.offer-card__desc {
    padding-top: 8px;
}

.offer-card__text {
    white-space: pre-wrap;
    font-size: 18px;
    line-height: 1.65;
    color: #333;
}

@media screen and (max-width: 999px) {
    .offer-card__top {
        flex-direction: column;
    }

    .offer-card__gallery,
    .offer-card__info {
        width: 100%;
        min-width: 0;
    }

    .offer-card__main img,
    .offer-card__main--empty {
        height: 280px;
    }

    .offer-card-page .item-name {
        font-size: 22px;
    }

    .offer-card__price {
        font-size: 36px;
    }

    .offer-card__text {
        font-size: 16px;
    }
}

.ad-page .lk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.lk-page,
.lk-page .ad-form-card,
.lk-page p,
.lk-page a {
    font-size: 16px;
    line-height: 1.5;
}

.lk-page h1 {
    font-size: 28px;
    line-height: 1.25;
}

.lk-profile p,
.lk-guest p {
    margin: 0 0 12px;
    font-size: 16px;
}

.lk-profile-form .field-item {
    margin: 0 0 14px;
}

.lk-profile-form .btn__red {
    margin-top: 4px;
}

.lk-profile-form + p {
    margin-top: 8px;
}

.lk-profile .title,
.lk-ads .title {
    font: 700 22px/1.3 Roboto, Arial, sans-serif;
    margin-bottom: 14px;
}

.lk-page .ad-list__title {
    font-size: 17px;
}

.lk-page .ad-list__meta {
    font-size: 15px;
}

.ad-extend-form {
    margin-top: 8px;
}

.ad-extend-btn {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #d71b22;
    background: #fff;
    color: #d71b22;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.3;
}

.ad-extend-btn:hover {
    background: #d71b22;
    color: #fff;
}

@media screen and (max-width: 999px) {
    ul.device__mystankopark__menu li.dropmenu .__submenu {
        display: block;
        margin-top: 6px;
    }

    ul.device__mystankopark__menu li.dropmenu .__submenu li {
        padding: 6px 0 6px 10px;
    }

    .ad-page__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ad-page .lk-grid {
        grid-template-columns: 1fr;
    }
}

.lk-orders-page .ad-form-card {
    max-width: none;
}

.lk-orders__table-wrap {
    overflow-x: auto;
}

.lk-orders__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.lk-orders__table th,
.lk-orders__table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.lk-orders__table th {
    color: #777;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lk-orders__table td b {
    font-weight: 700;
    color: #111;
}

.lk-orders__table .tenge {
    font-style: normal;
}

.lk-orders__status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    background: #f2f2f2;
    font-size: 14px;
}

.lk-orders__table tr.is-rejected .lk-orders__status {
    background: #fde8e8;
    color: #d71b22;
}

.lk-order__meta {
    margin: 0 0 18px;
    color: #777;
    font-size: 15px;
}

.lk-order__reorder {
    margin-left: 12px;
}

.lk-order__total td {
    font-weight: 700;
}

.lk-order__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.lk-order__info .title {
    font: 700 18px/1.3 Roboto, Arial, sans-serif;
    margin-bottom: 8px;
}

.lk-order__info p {
    margin: 0 0 6px;
}

@media screen and (max-width: 767px) {
    .lk-orders__table thead {
        display: none;
    }

    .lk-orders__table,
    .lk-orders__table tbody,
    .lk-orders__table tr,
    .lk-orders__table td {
        display: block;
        width: 100%;
    }

    .lk-orders__table tr {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .lk-orders__table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        border: 0;
        padding: 4px 0;
    }

    .lk-orders__table td::before {
        content: attr(data-title);
        color: #888;
        font-weight: 400;
    }

    .lk-order__info {
        grid-template-columns: 1fr;
    }
}

.offer-page .__inner,
.offer-detail-page .__inner {
    background: #fff;
    padding: 24px 30px 48px;
    box-sizing: border-box;
}

.offer-page__kicker,
.offer-detail__kicker {
    margin: 0 0 8px;
    color: #888;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.offer-detail__kicker a {
    color: #888;
    text-decoration: none;
}

.offer-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.offer-cats a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    color: #222;
    text-decoration: none;
    font-size: 14px;
    background: #fff;
}

.offer-cats a span {
    color: #888;
    font-size: 12px;
}

.offer-cats .is-active a,
.offer-cats a:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.offer-cats .is-active a span,
.offer-cats a:hover span {
    color: #ccc;
}

.offer-page__layout {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.offer-filter {
    width: 240px;
    flex-shrink: 0;
    background: #f7f5f0;
    padding: 22px 18px;
    box-sizing: border-box;
}

.offer-filter__title {
    font: 700 13px/1.2 Roboto, Arial, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.offer-filter__block {
    margin-bottom: 20px;
}

.offer-filter__label {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 10px;
}

.offer-filter__check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 14px;
    color: #222;
    cursor: pointer;
}

.offer-filter__prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.offer-filter input[type="text"],
.offer-filter select {
    width: 100%;
    height: 36px;
    border: 1px solid #ddd;
    background: #fff;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 14px;
}

.offer-filter__submit {
    width: 100%;
    height: 42px;
    border: 0;
    background: #111;
    color: #fff;
    font: 700 13px/1 Roboto, Arial, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.offer-filter__submit:hover {
    background: #d71b22;
}

.offer-page__content {
    min-width: 0;
    flex: 1;
}

.offer-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    color: #666;
    font-size: 14px;
}

.offer-toolbar__sort a {
    margin-left: 8px;
    color: #888;
    text-decoration: none;
    border-bottom: 1px dotted transparent;
}

.offer-toolbar__sort a.is-active,
.offer-toolbar__sort a:hover {
    color: #111;
    border-bottom-color: #111;
}

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

.offer-grid--related {
    grid-template-columns: repeat(3, 1fr);
}

.offer-tile {
    min-width: 0;
}

.offer-tile__photo {
    display: block;
    position: relative;
    background: #f7f5f0;
    border: 1px solid #eee;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.offer-tile__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-tile__photo.is-empty {
    background:
        linear-gradient(#ece8df 1px, transparent 1px),
        linear-gradient(90deg, #ece8df 1px, transparent 1px);
    background-size: 22px 22px;
    background-color: #f7f5f0;
}

.offer-tile__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    background: rgba(255,255,255,.92);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #333;
}

.offer-tile__body {
    padding: 12px 0 4px;
}

.offer-tile__price {
    font: 800 22px/1.15 Roboto, Arial, sans-serif;
    color: #111;
    margin-bottom: 6px;
}

.offer-tile__price .tenge {
    font-style: normal;
    font-weight: 800;
}

.offer-tile__title {
    display: block;
    font: 500 16px/1.35 Roboto, Arial, sans-serif;
    color: #222;
    text-decoration: none;
    margin-bottom: 10px;
}

.offer-tile__title:hover {
    color: #d71b22;
}

.offer-tile__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #888;
    font-size: 13px;
}

.offer-detail__title {
    margin: 0 0 22px;
    font: 700 32px/1.2 Roboto, Arial, sans-serif;
}

.offer-detail__layout {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 40px;
}

.offer-detail__main {
    min-width: 0;
    flex: 1;
}

.offer-gallery__main {
    display: block;
    position: relative;
    background: #f7f5f0;
    border: 1px solid #eee;
    overflow: hidden;
}

.offer-gallery__main img {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: contain;
    background: #f7f5f0;
}

.offer-gallery__main.is-empty {
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.offer-gallery__counter {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 8px;
    background: rgba(255,255,255,.92);
    font-size: 12px;
    color: #333;
}

.offer-gallery__main .offer-tile__badge {
    top: 12px;
    right: 12px;
}

.offer-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.offer-gallery__thumb {
    display: block;
    width: 88px;
    height: 88px;
    border: 2px solid transparent;
    overflow: hidden;
    background: #f7f5f0;
}

.offer-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-gallery__thumb.is-active,
.offer-gallery__thumb:hover {
    border-color: #e35b2a;
}

.offer-block {
    margin-top: 28px;
}

.offer-block__label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}

.offer-block__text {
    font-size: 16px;
    line-height: 1.65;
    color: #333;
}

.offer-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
}

.offer-facts > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 15px;
}

.offer-facts span:first-child {
    color: #888;
}

.offer-facts a {
    color: #111;
}

.offer-side {
    width: 320px;
    flex-shrink: 0;
}

.offer-side__price,
.offer-side__box,
.offer-seller,
.offer-side__dates {
    background: #f7f5f0;
    padding: 18px;
    margin-bottom: 12px;
}

.offer-side__sum {
    font: 800 36px/1.1 Roboto, Arial, sans-serif;
    color: #111;
}

.offer-side__sum .tenge {
    font-style: normal;
    font-weight: 800;
}

.offer-side__phone {
    display: inline-block;
    font: 700 20px/1.3 Roboto, Arial, sans-serif;
    color: #111;
    text-decoration: none;
}

.offer-side__phone.is-masked {
    border-bottom: 1px dashed #111;
    cursor: pointer;
}

.offer-side__hint {
    margin-top: 4px;
    font-size: 13px;
    color: #888;
}

.offer-side__actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.offer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    text-decoration: none;
    font: 700 13px/1 Roboto, Arial, sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-sizing: border-box;
}

.offer-btn--call {
    flex: 1;
    border: 1px solid #111;
    color: #111;
    background: #fff;
}

.offer-btn--call:hover {
    background: #111;
    color: #fff;
}

.offer-btn--wa {
    flex: 1;
    background: #25d366;
    color: #fff !important;
}

.offer-btn--wa .offer-btn__wa-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    overflow: visible;
}

.offer-btn--wa:hover {
    background: #1ebe57;
}

.offer-btn--msg {
    display: flex;
    width: 100%;
    margin-top: 8px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
}

.offer-btn--msg:hover {
    border-color: #111;
    color: #111;
}

.offer-seller {
    display: flex;
    align-items: center;
    gap: 12px;
}

.offer-seller__ava {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

.offer-seller__name {
    font-weight: 700;
    font-size: 15px;
}

.offer-seller__since {
    font-size: 13px;
    color: #888;
}

.offer-side__dates {
    font-size: 13px;
    color: #666;
    line-height: 1.55;
}

.offer-related {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.offer-related__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 16px;
}

.offer-related__head h2 {
    margin: 0;
    font: 700 22px/1.2 Roboto, Arial, sans-serif;
}

.offer-related__head a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.offer-related__head a:hover {
    color: #d71b22;
}

@media screen and (max-width: 1100px) {
    .offer-grid,
    .offer-grid--related {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 999px) {
    .offer-page__layout,
    .offer-detail__layout {
        flex-direction: column;
    }

    .offer-filter,
    .offer-side {
        width: 100%;
    }

    .offer-gallery__main img,
    .offer-gallery__main.is-empty {
        height: 280px;
    }

    .offer-detail__title {
        font-size: 24px;
    }

    .offer-side__sum {
        font-size: 28px;
    }

    .offer-facts {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 640px) {
    .offer-grid,
    .offer-grid--related {
        grid-template-columns: 1fr;
    }

    .offer-page .__inner,
    .offer-detail-page .__inner {
        padding: 16px;
    }
}

/*====================================================================
  Prototype restyle (Axure .dc.html) — layout, type, header/footer
====================================================================*/
:root {
    --sp-bg: #eeeeef;
    --sp-ink: #1b1b1d;
    --sp-muted: #55555a;
    --sp-dim: #9a9aa0;
    --sp-red: #d8231b;
    --sp-green: #00a651;
    --sp-link: #137a3f;
    --sp-black: #141416;
    --sp-line: #e4e4e6;
    --sp-card: #ffffff;
    --sp-sans: "Manrope", Roboto, Arial, sans-serif;
    --sp-display: "Space Grotesk", Roboto, Arial, sans-serif;
    --sp-mono: "IBM Plex Mono", Consolas, monospace;
}

body,
#content {
    background: var(--sp-bg);
    color: var(--sp-ink);
    font-family: var(--sp-sans);
}

[class*="__outer"] [class*="__inner"] {
    max-width: 1360px;
}

/* ---- Header ---- */
.header__outer .header__top__outer {
    background: #e3e3e4;
    border-bottom: 1px solid #d6d6d7;
}

.header__outer .header__top__outer .header__top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1360px;
    margin: 0 auto;
    padding: 6px 0;
}

ul.header__top__nav {
    flex: 1;
    min-width: 0;
}

ul.header__top__nav li {
    margin-right: 0;
}

ul.header__top__nav li:after {
    top: 7px;
    right: -1px;
    height: 11px;
    background: #c2c2c4;
}

ul.header__top__nav li a {
    font-family: var(--sp-mono);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sp-muted);
    padding: 5px 12px;
}

ul.header__top__nav li a:hover {
    color: #111;
}

ul.header__top__nav li.ad-menu-item > a {
    color: var(--sp-link);
    font-weight: 600;
}

.header__hours {
    flex: none;
    font-family: var(--sp-mono);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sp-muted);
    white-space: nowrap;
}

.header__outer .header__middle__outer {
    background: #fff;
}

.header__outer .header__middle__outer .header__middle__inner {
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}

.header__middle__left,
.header__middle__right {
    display: flex;
    align-items: center;
}

.header__middle__left {
    gap: 40px;
    min-width: 0;
}

.header__middle__right {
    gap: 18px;
    flex: none;
}

.device__header__outer .__inner .__logotype,
.header__outer .header__middle__outer .header__middle__inner .__logotype {
    padding-right: 0;
    flex: none;
}

.device__header__outer .__inner .__logotype img,
.header__outer .header__middle__outer .header__middle__inner .__logotype img {
    display: block;
    height: 36px;
    width: auto;
    max-width: 260px;
    background: transparent;
}

.header__outer .header__middle__outer .header__middle__inner .__call__position {
    margin-right: 0;
    padding-left: 22px;
}

.header__outer .header__middle__outer .header__middle__inner .__call__position .__telephone a,
.header__outer .header__middle__outer .header__middle__inner .__call__position .__telephone span {
    font-family: var(--sp-display);
    font-weight: 600;
    font-size: 19px;
    line-height: 1.2;
    color: var(--sp-ink);
}

.header__outer .header__middle__outer .header__middle__inner .__call__position .__telephone:before {
    color: var(--sp-red);
    top: 4px;
}

.header__outer .header__middle__outer .header__middle__inner .link__red__dot {
    color: var(--sp-red);
    font-size: 13px;
    border: 0;
}

.header__outer .header__middle__outer .header__middle__inner .__information__position {
    margin-right: 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: #3d3d41;
}

.header__outer .header__middle__outer .header__middle__inner .__information__position .__address a,
.header__outer .header__middle__outer .header__middle__inner .__information__position .__map span {
    color: #3d3d41;
}

.header__outer .header__middle__outer .header__middle__inner .__information__position .__map span {
    color: #77777c;
}

.header__outer .header__bottom__wrapper__outer {
    height: auto;
}

.header__outer .header__bottom__outer {
    background: var(--sp-black) !important;
}

.header__outer .header__bottom__outer .header__bottom__inner {
    padding: 10px 0;
    gap: 16px;
}

.header__outer .header__bottom__outer .header__bottom__inner .header__bottom__wrapper__left {
    gap: 16px;
    flex: 1;
    min-width: 0;
    width: auto;
}

form.form__header__search {
    flex: 1;
    min-width: 0;
    width: auto;
    max-width: none;
    margin: 0 16px 0 0;
}

form.form__header__search input {
    height: 44px;
    background: transparent;
    border-radius: 6px;
}

.subscribe__copy {
    flex: 1;
    min-width: 240px;
}

.subscribe__fields {
    display: flex;
    gap: 10px;
    width: 520px;
    flex: none;
}

.subscribe__outer .__inner form.form__subscribe {
    justify-content: space-between;
    gap: 40px;
    background: var(--sp-black) !important;
}

.subscribe__outer .__inner form.form__subscribe .__label {
    width: auto;
    margin: 0;
    color: #fff;
    font-family: var(--sp-display);
    font-size: 24px;
    line-height: 1.2;
}

.subscribe__outer .__inner form.form__subscribe input {
    flex: 1;
    width: auto;
    margin: 0;
    background: #1c1c1f;
    border: 1px solid #33333a;
    color: #fff;
}

@media screen and (max-width: 999px) {
    .subscribe__fields {
        width: 100%;
        flex-direction: column;
    }
}

.header__catalog > .title {
    background: var(--sp-red);
    border-radius: 6px;
    padding: 10px 18px;
    min-width: 210px;
}

.header__catalog > .title:hover {
    background: #bd1a13;
}

.header__catalog > .title span {
    font-family: var(--sp-sans);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.2;
}

.header__catalog.active > .title {
    background: #bd1a13;
}

.header__catalog.active > .title span {
    color: #fff;
}

.header__catalog > .title:after {
    display: none;
}

form.form__header__search {
    background: #fff;
    border-radius: 6px;
    overflow: visible;
}

form.form__header__search input {
    font-family: var(--sp-sans);
    font-size: 14px;
    color: var(--sp-ink);
}

.header__delivery-note {
    flex: none;
    font-family: var(--sp-mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8a8a90;
    white-space: nowrap;
    padding: 0 8px 0 4px;
}

.header__outer .header__bottom__outer .header__bottom__inner .header__bottom__wrapper__right,
.header__middle__right .header__bottom__wrapper__right {
    width: auto;
    max-width: none;
    min-width: 0;
}

.header__middle__right .__icons__wrapper {
    max-width: none;
    min-width: 0;
    width: auto;
    gap: 4px;
}

.header__middle__right .header__auth {
    display: none;
}

.header__middle__right .header__basket span,
.header__middle__right .header__bookmarks,
.header__middle__right .header__compare,
.header__middle__right .header__views,
.header__middle__right .header__kp {
    width: 36px;
    height: 36px;
    color: var(--sp-muted);
}

.header__middle__right .header__basket span:before,
.header__middle__right .header__bookmarks:before,
.header__middle__right .header__compare:before,
.header__middle__right .header__views:before {
    color: var(--sp-muted);
}

.header__middle__right .header__basket span i,
.header__middle__right .header__bookmarks i,
.header__middle__right .header__compare i,
.header__middle__right .header__views i,
.header__middle__right .header__kp .count_kp {
    top: -2px;
    right: -2px;
    left: auto;
    background: transparent;
    color: var(--sp-dim);
    font-family: var(--sp-mono);
    font-size: 9.5px;
    font-weight: 500;
}

.header__middle__right .header__basket:not(.empty) span i,
.header__middle__right .header__basket span i.basket_count_int:not(:empty) {
    background: var(--sp-red);
    color: #fff;
    border-radius: 20px;
    padding: 1px 5px;
    min-width: 16px;
    height: auto;
}

.header__middle__right .header__kp {
    width: auto;
    border: 1px solid #c2c2c4;
    border-radius: 5px;
    color: var(--sp-muted);
    font-family: var(--sp-mono);
    font-size: 11px;
    padding: 5px 8px;
    margin-left: 6px;
}

.header__middle__right .header__kp .count_kp {
    position: static;
    background: var(--sp-black);
    color: #fff;
    border-radius: 20px;
    padding: 1px 7px;
    min-width: 0;
    height: auto;
}

.header__auth-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 18px;
    border-left: 1px solid #e4e4e6;
}

.header__auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 24px;
    padding: 11px 18px;
    font-family: var(--sp-sans);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    line-height: 1;
}

.header__auth-btn--login {
    background: var(--sp-black);
    color: #fff !important;
}

.header__auth-btn--login:hover {
    background: #2b2b2f;
    color: #fff !important;
}

.header__auth-btn--register {
    background: #fff;
    color: #3d3d41 !important;
    border-color: #dededf;
}

.header__auth-btn--register:hover {
    border-color: var(--sp-black);
    color: var(--sp-black) !important;
}

.header__outer .header__footer__outer {
    background: #fff;
    border-bottom: 1px solid #e2e2e4;
}

ul.header__footer__links {
    padding: 10px 0;
}

ul.header__footer__links li a {
    font-size: 13.5px;
    color: #3d3d41;
    text-transform: none;
}

ul.header__footer__links li a:hover {
    color: var(--sp-red);
}

.device__header__outer {
    background: #fff;
    border-bottom: 1px solid var(--sp-line);
}

.device__header__outer .__inner .__logotype {
    min-width: 0;
    max-width: 72%;
    height: auto;
}

.device__header__outer .__inner .__logotype img {
    height: 28px;
    max-height: 28px;
    width: auto;
    max-width: 200px;
    background: transparent;
}

/* ---- Footer ---- */
.footer__outer .footer__top__outer {
    background: #fff;
    border-top: 1px solid var(--sp-line);
}

.footer__outer .footer__bottom__outer {
    background: #e3e3e4;
    border-top: 1px solid #d6d6d7;
}

.footer__outer .footer__bottom__outer .__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    padding: 34px 0 30px;
}

.footer__brand {
    max-width: 420px;
    min-width: 0;
}

.footer__brand .footer__copyright {
    width: 100%;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer__logo img {
    display: block;
    height: 32px;
    width: auto;
    max-width: 240px;
    background: transparent;
}

.footer__copyright,
.footer__block {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--sp-muted);
}

.footer__block .__title {
    font-weight: 700;
    color: var(--sp-ink);
    margin-bottom: 8px;
}

.footer__copyright a,
.footer__block a {
    color: var(--sp-link);
}

.footer__social li a {
    background-color: #fff;
    border: 1px solid #d6d6d7;
    border-radius: 50%;
}

/* ---- Buttons / product cards ---- */
.btn__red,
.catalog__show-more-btn,
.offer-filter__submit {
    background: var(--sp-black) !important;
    border: 0;
    border-radius: 24px !important;
    font-family: var(--sp-sans);
    font-weight: 700;
}

.btn__red:hover,
.catalog__show-more-btn:hover {
    background: #2b2b2f !important;
}

.header-place-ad {
    background: var(--sp-green);
    box-shadow: 0 6px 18px rgba(0, 166, 81, .28);
}

.header-place-ad:hover {
    background: #00934a;
}

.btn__in-cart {
    background: var(--sp-black) !important;
    border-radius: 22px;
    padding: 11px 18px;
}

.btn__in-cart:hover {
    background: #2b2b2f !important;
    box-shadow: none;
}

.goods__block {
    background: #fff;
    border-radius: 0;
}

.catalog__container .goods__array {
    background: #eeeef0;
    border: 1px solid var(--sp-line);
    border-radius: 12px;
    overflow: hidden;
    gap: 1px;
}

.catalog__container .goods__array .goods__block {
    background: #fff;
    box-sizing: border-box;
}

.goods__block .__price .__new,
.goods-of__the__day .__price .__new,
.goods__of__the__day .__price .__new {
    font-family: var(--sp-display);
    font-weight: 700;
    color: var(--sp-ink);
}

.goods__block .__name {
    font-weight: 700;
    color: var(--sp-ink) !important;
}

.home-line__outer .__inner,
.home-features__outer .__inner,
.home-line-news__outer .__inner,
.subscribe__outer .__inner,
.header__information__outer .__inner,
.catalog-page__outer .__inner,
.goods-page__outer .__inner {
    background: transparent;
}

.home-line__position,
.header__information__outer .header__information__position,
.goods-of__the__day,
.goods__of__the__day {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 14px;
    overflow: hidden;
}

.home-line__position .__top .__title,
.catalog-page__outer h1,
.goods-page__outer h1,
.offer-page h1,
.offer-detail__title,
.lk-page h1 {
    font-family: var(--sp-display);
    font-weight: 700;
    letter-spacing: -.02em;
}

.home-line__position .__top {
    background: #fafafa;
    border-bottom: 1px solid #eeeef0;
}

.features__array {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 12px;
    overflow: hidden;
}

.header__carousel .__item,
.header__information__outer .__inner {
    border-radius: 14px;
    overflow: hidden;
}

.header__information__outer {
    padding-top: 18px;
}

.subscribe__outer {
    margin: 22px 0;
}

.subscribe__outer .__inner,
.form__subscribe {
    background: var(--sp-black) !important;
    border-radius: 14px;
    color: #fff;
    padding: 26px 32px;
}

.form__subscribe .__label,
.subscribe__hint {
    color: #fff;
    font-family: var(--sp-display);
    font-weight: 700;
}

.subscribe__hint {
    font-family: var(--sp-sans);
    font-weight: 400;
    font-size: 13.5px;
    color: #a8a8ad;
    margin: 4px 0 0;
}

.form__subscribe input,
.form__subscribe .field-subs-email {
    background: #1c1c1f;
    border: 1px solid #33333a;
    border-radius: 24px;
    color: #fff;
}

.form__subscribe .btn__red {
    background: var(--sp-green) !important;
}

.form__subscribe .btn__red:hover {
    background: #00934a !important;
}

.home-offers__layout {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 14px;
    overflow: hidden;
}

.home-offers .home-line__position {
    border: 0;
    border-radius: 0;
    flex: 1;
    min-width: 0;
}

.home-offers__promo {
    width: 300px;
    flex: none;
    background: #e8f6ee;
    border-left: 1px solid #cfe9db;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.home-offers__promo-kicker {
    font-family: var(--sp-mono);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sp-link);
    margin-bottom: 10px;
}

.home-offers__promo-title {
    font-family: var(--sp-display);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.home-offers__promo-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: #3d6b52;
    margin-bottom: auto;
}

.home-offers__promo-btn {
    display: block;
    text-align: center;
    background: var(--sp-green);
    color: #fff !important;
    border-radius: 24px;
    padding: 13px 22px;
    font-weight: 700;
    margin-top: 18px;
}

.home-offers__promo-btn:hover {
    background: #00934a;
    color: #fff !important;
}

.home-offers__promo-link {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
}

/* ---- Catalog ---- */
.catalog-page__outer {
    padding: 12px 0 48px;
}

.catalog-page__outer .__inner {
    background: transparent;
}

.catalog-page__kicker,
.offer-page__kicker,
.offer-detail__kicker,
.lk-hero__kicker {
    font-family: var(--sp-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sp-dim);
    margin-bottom: 9px;
}

.offer-page__kicker,
.lk-hero__kicker {
    color: var(--sp-link);
}

.catalog-page__outer .catalog__content .__content__top h1,
.catalog-page__outer h1 {
    text-align: left;
    font-size: 36px;
    line-height: 1.05;
    margin: 0 0 18px;
}

.catalog__level__menu,
.catalog__filter__place,
.form__catalog__filter {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 12px;
}

.catalog__top__control {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 18px;
}

/* ---- Product page ---- */
.goods-page__outer {
    padding: 12px 0 48px;
}

.goods-page__goods__position {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 14px;
    padding: 26px 28px;
}

.goods-page__outer h1,
.goods-page__goods__position h1 {
    font-size: 32px;
    line-height: 1.1;
}

.goods-page__goods__controller {
    background: #fafafa;
    border: 1px solid #eeeef0;
    border-radius: 12px;
    padding: 22px;
}

.goods-page__goods__price__position .__new,
.goods-page__goods__controller .__price .__new,
.goods__price__block .__new {
    font-family: var(--sp-display);
    font-weight: 700;
    color: var(--sp-red);
    font-size: 32px;
}

.goods-page__goods__tab__position {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 14px;
    overflow: hidden;
    margin-top: 18px;
}

/* ---- Ads ---- */
.offer-page .__inner,
.offer-detail-page .__inner {
    background: transparent;
    padding: 8px 0 48px;
}

.offer-page__layout {
    gap: 28px;
}

.offer-filter {
    width: 258px;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
}

.offer-filter__title {
    padding: 18px 20px;
    border-bottom: 1px solid #eeeef0;
    font-family: var(--sp-mono);
    font-size: 11px;
    letter-spacing: .12em;
}

.offer-filter form {
    padding: 0 20px 20px;
}

.offer-filter__submit {
    background: var(--sp-green) !important;
    width: 100%;
    padding: 13px;
}

.offer-cats a {
    border-radius: 24px;
    padding: 9px 18px;
    font-weight: 600;
}

.offer-cats .is-active a,
.offer-cats a:hover {
    background: var(--sp-black);
}

.offer-tile {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .18s ease, transform .18s ease;
}

.offer-tile:hover {
    box-shadow: 0 12px 28px rgba(20, 20, 22, .10);
    transform: translateY(-3px);
}

.offer-tile__photo {
    height: 186px;
    aspect-ratio: auto;
    background: #fafafa;
    border: 0;
    border-bottom: 1px solid #eeeef0;
}

.offer-tile__photo img {
    height: 186px;
    object-fit: contain;
}

.offer-tile__price {
    font-family: var(--sp-display);
    font-weight: 700;
    font-size: 21px;
    color: var(--sp-red);
}

.offer-tile__title {
    font-weight: 700;
    color: var(--sp-ink) !important;
}

.offer-detail {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 14px;
    padding: 26px 28px;
}

.offer-side {
    background: #fafafa;
    border: 1px solid #eeeef0;
    border-radius: 12px;
}

.offer-side__sum,
.offer-card__price {
    font-family: var(--sp-display);
    color: var(--sp-red);
}

.offer-card__call,
.offer-gallery__main {
    border-radius: 10px;
}

/* ---- LK ---- */
.lk-page .__inner {
    background: transparent;
    padding: 8px 0 48px;
}

.lk-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.lk-page h1 {
    font-size: 46px;
    line-height: 1;
    margin: 0;
}

.lk-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}

.lk-stat {
    display: block;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
}

.lk-stat__label {
    font-family: var(--sp-mono);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sp-dim);
    margin-bottom: 10px;
}

.lk-stat__row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.lk-stat__value {
    font-family: var(--sp-display);
    font-weight: 700;
    font-size: 30px;
    letter-spacing: -.02em;
    color: var(--sp-ink);
}

.lk-stat__note {
    font-size: 12.5px;
    color: var(--sp-dim);
}

.lk-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.lk-side {
    width: 250px;
    flex: none;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 12px;
    overflow: hidden;
}

.lk-side__user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid #eeeef0;
}

.lk-side__avatar {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    background: #e8f6ee;
    color: var(--sp-link);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sp-display);
    font-weight: 700;
    font-size: 15px;
}

.lk-side__name {
    font-size: 15px;
    font-weight: 700;
}

.lk-side__id {
    font-size: 12px;
    color: var(--sp-dim);
}

.lk-side__nav {
    padding: 10px;
}

.lk-side__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 4px;
    color: #3d3d41 !important;
    font-size: 14px;
}

.lk-side__nav a.is-active,
.lk-side__nav a:hover {
    background: #f4f4f5;
    color: var(--sp-ink) !important;
    font-weight: 700;
}

.lk-side__nav span {
    font-family: var(--sp-mono);
    font-size: 11px;
    opacity: .65;
}

.lk-side__logout {
    display: block;
    padding: 12px 20px 20px;
    border-top: 1px solid #eeeef0;
    color: var(--sp-red) !important;
    font-size: 13.5px;
}

.lk-main {
    flex: 1;
    min-width: 0;
}

.lk-card,
.lk-orders-page .ad-form-card,
.lk-page .ad-form-card {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: 12px;
    overflow: hidden;
    max-width: none;
    padding: 0;
}

.lk-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eeeef0;
}

.lk-card__head h2 {
    font-family: var(--sp-display);
    font-weight: 700;
    font-size: 20px;
    margin: 0;
}

.lk-card__head span,
.lk-card__empty,
.lk-card__note {
    font-size: 13px;
    color: var(--sp-dim);
}

.lk-card__empty,
.lk-card__note,
.lk-profile-form,
.lk-orders {
    padding: 20px 24px;
}

.lk-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

.lk-profile-form .field-item label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--sp-dim);
}

.lk-profile-form .form-control {
    border: 1px solid #e0e0e2;
    border-radius: 8px;
    padding: 13px 14px;
    font-size: 15px;
}

.lk-profile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
}

.lk-profile-actions .btn__red {
    background: var(--sp-green) !important;
    padding: 14px 30px;
}

.lk-profile-pass {
    border: 1px solid #dededf;
    border-radius: 24px;
    padding: 13px 24px;
    color: #55555a !important;
    font-weight: 600;
}

.lk-offer {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f2f2f3;
}

.lk-offer__photo {
    width: 120px;
    height: 88px;
    flex: none;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
    border: 1px solid #eeeef0;
}

.lk-offer__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lk-offer__body {
    flex: 1;
    min-width: 0;
}

.lk-offer__title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--sp-ink) !important;
    margin: 6px 0;
}

.lk-offer__price {
    font-family: var(--sp-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--sp-red);
    width: 150px;
    text-align: right;
}

.lk-offer__extend,
.ad-extend-btn {
    background: var(--sp-black);
    color: #fff !important;
    border: 0;
    border-radius: 22px;
    padding: 11px 16px;
    font-weight: 700;
    cursor: pointer;
}

.lk-orders__table th {
    font-family: var(--sp-mono);
    letter-spacing: .08em;
}

.lk-orders__status {
    border-radius: 20px;
    padding: 5px 12px;
}

/* ---- Auth modal ---- */
#auth_form.window {
    border-radius: 16px;
    overflow: hidden;
}

.auth-tabs {
    gap: 6px;
    border-bottom: 1px solid #eeeef0;
}

.auth-tabs a {
    border-radius: 20px;
    padding: 8px 16px;
}

.auth-tabs a.active {
    background: var(--sp-black);
    color: #fff;
}

.auth-tabs a.active:after {
    display: none;
}

.auth-form .form-control {
    border-radius: 9px;
    border-color: #e0e0e2;
    padding: 13px 14px;
}

@media screen and (max-width: 1199px) {
    .header__middle__left {
        gap: 20px;
    }

    .header__auth-btn--register,
    .header__delivery-note,
    .header__hours {
        display: none;
    }

    .lk-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 999px) {
    .header__auth-actions {
        display: none;
    }

    .home-offers__layout,
    .lk-layout {
        flex-direction: column;
    }

    .home-offers__promo,
    .lk-side {
        width: 100%;
    }

    .lk-page h1 {
        font-size: 32px;
    }

    .lk-profile-grid,
    .lk-offer {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .lk-offer__price {
        width: auto;
        text-align: left;
    }

    .footer__outer .footer__bottom__outer .__inner {
        flex-direction: column;
        gap: 24px;
    }
}

div#header__bottom__wrapper__right-desktop,.__icons__wrapper {
    display: flex;
}



