/* start sizes popup */
.new-sizes-popup {
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    max-width: 100%;
}
.new-sizes-popup.popup-visible {
    opacity: 1;
    pointer-events: auto;
}
.new-sizes-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 19, 33, 0.7);
    opacity: 0;
    -webkit-transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.popup-visible > .new-sizes-popup__overlay {
    opacity: 1;
}
.new-sizes-popup__dialog {
    font-family: "Jost", sans-serif, arial;
    position: relative;
    background: #fff;
    -webkit-box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.3);
    max-width: 100%;
    min-width: 320px;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transform: translateY(40px) scale(0.98);
    transform: translateY(40px) scale(0.98);
    opacity: 0;
    -webkit-transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.popup-visible > .new-sizes-popup__dialog {
    -webkit-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
    opacity: 1;
}
@media (max-width: 767px) {
    .new-sizes-popup__dialog {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
        height: 100%;
        max-height: 100%;
        overflow: auto;
        background-color: #F2F2F2;
    }
}
.new-sizes-popup__img-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 20px;
}
@media (max-width: 1279px) {
    .new-sizes-popup__img-wrapper {
        padding: 20px 10px;
    }
}
@media (max-width: 992px) {
    .new-sizes-popup__img-wrapper {
        display: none;
    }
}
.new-sizes-popup__img {
    width: 300px;
    height: auto;
}
.new-sizes-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #BBB;
    cursor: pointer;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
.new-sizes-popup__close:not([disabled]):hover,
.new-sizes-popup__close:not([disabled]):focus,
.new-sizes-popup__close:not([disabled]):active {
    color: #7826AD;
}
@media (max-width: 575px) {
    .new-sizes-popup__close {
        top: 10px;
        right: 0;
    }
}
.new-sizes-popup__close svg {
    stroke: none;
    fill: currentColor;
    width: 30px;
    height: 30px;
}
.new-sizes-popup__body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    gap: 15px;
    min-width: 615px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding: 20px 30px;
    background-color: #F2F2F2;
}
@media (max-width: 992px) {
    .new-sizes-popup__body {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        padding: 20px 15px;
        -webkit-box-flex: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
    }
}
@media (max-width: 767px) {
    .new-sizes-popup__body {
        min-width: 100%;
    }
}

.new-sizes__title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}
.new-sizes__subtitle {
    color: #757575;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 400;
}
.new-sizes__box {
    padding-bottom: 15px;
    border-bottom: 1px solid #757575;
}

.new-sizes-grid {
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (55px)[6];
    grid-template-columns: repeat(6, 55px);
    gap: 10px 10px;
}
@media (max-width: 575px) {
    .new-sizes-grid {
        -ms-grid-columns: (40px)[6];
        grid-template-columns: repeat(6, 40px);
    }
}
.new-sizes-grid__item {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 500;
    aspect-ratio: 1/1;
    width: 55px;
    border: 1px solid #000;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    cursor: pointer;
}
.new-sizes-grid__item:not([disabled]):hover, .new-sizes-grid__item:not([disabled]):focus, .new-sizes-grid__item:not([disabled]):active {
    color: #7826AD;
}
.new-sizes-grid__item.is-active {
    background: rgba(120, 38, 173, 0.3);
    border: 1px solid #7826AD;
}
@media (max-width: 575px) {
    .new-sizes-grid__item {
        font-size: 18px;
        width: 40px;
    }
}

.sizes-matching {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.sizes-matching.sizes-matching--specifity {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
}
@media (max-width: 575px) {
    .sizes-matching {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
}
.sizes-matching.is-hidden {
    display: none;
}
.sizes-matching__item {
    font-size: 16px;
    padding: 10px 0;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 30px;
    color: #111;
}
.sizes-matching:not(.sizes-matching--specifity) .sizes-matching__item:nth-child(2n) {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.sizes-matching__text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 5px;
    min-width: 160px;
}
@media (max-width: 575px) {
    .sizes-matching__text {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    }
}
.sizes-matching__name {
    color: #111;
    text-transform: none;
}
.sizes-matching__desc {
    text-transform: uppercase;
    color: #757575;
}
.sizes-matching__value {
    text-align: right;
    font-weight: bold;
    min-width: 60px;
}
@media (max-width: 575px) {
    .sizes-matching__value {
        min-width: 0;
    }
}

.js--sizes-popup-open {
    cursor: pointer;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
.js--sizes-popup-open:not([disabled]):hover, .js--sizes-popup-open:not([disabled]):focus, .js--sizes-popup-open:not([disabled]):active {
    color: #7826AD;
}

.sizes-popup-open-button {
    border: none;
    background: none;
    padding: 0 0 0 20px;
    margin: 0;
    font: inherit;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    cursor: pointer;
    text-decoration: underline;
    color: #757575;
}

/* end sizes popup */