.crosslink-matrix {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.crosslink-matrix__label {
    font-weight: 400;
    font-size: 16px;
    color: #666666;
    margin-bottom: 10px;
}

.crosslink-matrix__values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.crosslink-matrix__values.expanded {
    max-height: 9999px;
}

.crosslink-matrix__value {
    background: #F4F5F7;
    border-radius: 19px;
    border: 1px solid transparent;
    padding: 4px 8px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

.crosslink-matrix__value:hover {
    border-color: #C7C7C7;
}

.crosslink-matrix__value.active,
.crosslink-matrix__value.is-selected {
    border-color: #1E1E1E;
    background-color: #FFFFFF;
}

.crosslink-matrix__value.is-out-of-stock,
.crosslink-matrix__value.is-missing,
.crosslink-matrix__value.is-value-out {
    opacity: 0.4;
}

.crosslink-matrix__value--color {
    width: 40px;
    height: 40px;
    padding: 1px;
    min-width: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: none;
    border-color: #D3D5DB;
}

.crosslink-matrix__value--color:hover {
    border-color: var(--theme-primary-dark);
}

.crosslink-matrix__value--color.active,
.crosslink-matrix__value--color.is-selected {
    border-color: var(--theme-primary, #1E1E1E);
}

.crosslink-matrix__color-swatch {
    border: 1px solid #fff;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.crosslink-matrix__value--color img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}

.crosslink-matrix__more-btn {
    margin-top: 8px;
    font-size: 14px;
    cursor: pointer;
    color: #1E1E1E;
    background: none;
    border: none;
    padding: 0;
    text-decoration: underline;
}

.crosslink-matrix__row {
    margin-bottom: 20px;
}
.delivery-cost {
    margin-top:32px;
    font-size:14px;
}

.delivery-cost.rs-in-loading {
    opacity:0.5;
    position:relative;
}

.delivery-cost.rs-in-loading:after {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.delivery-cost__price {
    font-weight:bold;
}

.delivery-cost__lines {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.delivery-cost__lines li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.delivery-cost__lines li::before {
     content: '';
     position: absolute;
     z-index: -1;
     height: 3px;
     left: 0;
     top: 50%;
     width: 100%;
     background: url(/modules/deliverycost/view/img/leader.svg) repeat-x 0% 0%;
}

.delivery-cost__lines li:not(:last-child) {
     margin-bottom: 8px;
}

@media screen and (max-width: 767.98px) {
    .delivery-cost__lines li:not(:last-child) {
        margin-bottom: 4px;
    }
}

.city-confirm {
    position: absolute;
    left: 0;
    right: 0;
    top: 138px;
    z-index: 8;
}

.rs-admin-top-panel .city-confirm {
    margin-top:62px;
}

.city-confirm__inner {
    padding: 16px 50px 16px 24px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--theme-primary);
    box-shadow:0 0 15px #999;
    display:inline-flex;
    position:relative;
}

.city-confirm__inner .btn {
    padding: 7px 16px;
}

@media screen and (max-width: 991.98px) {
    .city-confirm__inner {
        padding: 16px;
        padding-right:50px;
    }

    .city-confirm {
        top: 64px;
    }
}

@media screen and (max-width: 575.98px) {
    .city-confirm {
        top: 114px;
    }

    .city-confirm__inner {
        padding-right:16px;
    }
}

.city-confirm__inner .btn-close {
    position:absolute;
    right:10px;
    top:16px;
}

.city-confirm__quest {
    padding-right:25px;
}
.rs-comment-list .photo-container {
    margin-top: 20px;
    display: flex;
}
.rs-comment-list .photo-list {
    margin-bottom: 0;
    padding-left: 0;
}
.rs-comment-list .one-photo-container {
    width: 150px;
    margin-right: 10px;
}
.rs-comment-list .one-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 130px;
}
.rs-comment-list .one-photo img {
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.dropzone.rs-dropzone {
    min-height: 100px;
}
.photo-container .swiper-button-next {
    right: 1px;
}
.photo-container .swiper-button-prev {
    left: 1px;
}

.dz-preview:before,
.dz-upload {
    width: 24px;
    height: 24px;
    margin-right: 6px;
}
.dz-filename,
.dz-size,
.dz-upload {
    margin-right: 6px;
}
.dz-filename a {
    text-decoration: none;
    color:inherit;
}
.dz-error-message,
.dz-preview:before {
    content: "";
}
.dropzone,
.dropzone * {
    box-sizing: border-box;
}
.dropzone {
    min-height: 120px;
    border: 2px dashed #ced4da;
    border-radius: 5px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dropzone.dz-clickable {
    cursor: pointer;
}
.dropzone.dz-clickable * {
    cursor: default;
}
.dropzone.dz-clickable .dz-message,
.dropzone.dz-clickable .dz-message * {
    cursor: pointer;
}
.dropzone.dz-started .dz-message {
    display: none;
}
.dropzone.dz-drag-hover {
    border-style: solid;
}
.dropzone.dz-drag-hover .dz-message {
    opacity: 0.5;
}
.dropzone .dz-message {
    text-align: center;
}
.dropzone .dz-message .dz-button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}
.dropzone-preview {
    margin-top: 16px;
}
.dz-preview {
    display: flex;
    margin-top: 6px;
    align-items: center;
    padding: 2px 0;
}
.dz-preview:hover {
    background: #f5f5f5;
}
.dz-preview:before {
    background: url(/modules/files/view/img/icons/download.svg) no-repeat;
    background-size: 24px 24px;
}
.dz-progress {
    display: none;
}
.dz-processing:not(.dz-complete) .dz-progress {
    display: block;
}
.dz-upload {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: radial-gradient(closest-side, #fff 70%, transparent 80% 100%), conic-gradient(gray var(--progress, 0), #d3d3d3 0);
    font-size: 8px;
}
.dz-error-message {
    display: none;
    background: url(/modules/files/view/img/icons/invalid.svg) no-repeat;
    background-size: 32px 32px;
    min-width: 32px;
    height: 32px;
    cursor: pointer;
}
.dz-remove,
.dz-remove:hover {
    width: 24px;
    height: 24px;
    margin-left: 16px;
}
.dz-error .dz-error-message {
    display: block;
}
.dz-remove {
    background: url(/modules/files/view/img/icons/close.svg) no-repeat;
}
.dz-remove:hover {
    background: url(/modules/files/view/img/icons/close-red.svg) no-repeat;
    opacity: 0.7;
}
.dz-left-part {
    flex: 1;
    display: flex;
    align-items: center;
}
