.popup-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    white-space: nowrap;
    overflow: hidden auto;
    padding: 14px;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
}
.popup-mask.no-scroll {
    overflow: hidden;
}
.popup-mask:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 0;
    height: 100%;
}
.popup-mask.opened {
    z-index: 9999999;
    opacity: 1;
    visibility: visible;
}
.popup-mask .popup-wrapper {
    display: inline-block;
    vertical-align: middle;
}
.popup-mask .popup {
    font-family: 'Montserrat', sans-serif;
    background: #FFFFFF;
    position: relative;
    min-width: 950px;
    max-width: 950px;
    text-align: left;
    white-space: normal;

}
.popup-mask .popup .ajax-container {
    min-height: 200px;
}

body.opened-popup {
    overflow-y: hidden;
}

.popup-mask .popup .p-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 -10px 20px -10px;
}
.popup-mask .popup .p-row .p-column {
    padding: 0 10px;
    flex: 1 1 auto;
}
.popup-mask .popup .row-title {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #71553A;
    margin-bottom: 10px;
}
.popup-mask .popup .column-label {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #71553A;
    margin-bottom: 10px;
}

.popup-mask .popup input[type="text"],
.popup-mask .popup textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    padding: 13px 20px;
    border: 1px solid #B09784;
    border-radius: 5px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #2C180B;
    background-color: transparent;
    box-shadow: none;
    transition: none;
    -webkit-appearance: none;
}
.popup-mask .popup input[type="text"].error,
.popup-mask .popup textarea.error {
    border-color: #E13A16;
}
.popup-mask .popup textarea::-webkit-input-placeholder,
.popup-mask .popup input[type="text"]::-webkit-input-placeholder  {
    color: #B09784;
}
.popup-mask .popup textarea {
    height: 103px;
    resize: none;
}
.popup-mask .popup input[type="checkbox"] {
    display: block;
}
.popup-mask .popup .f-checkbox {
    display: inline-block;
    width: 13px;
    height: 13px;
    min-width: 13px;
    min-height: 13px;
    border: 1px solid #B09784;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.popup-mask .popup .f-checkbox input {
    margin: 0;
    opacity: 0;
    position: relative;
    cursor: pointer;
}
.popup-mask .popup .f-checkbox span {
    display: block;
    position: absolute;
    width: 8px;
    height: 5px;
    top: 2px;
    left: 2px;
    border-left: 2px solid #B09784;
    border-bottom: 2px solid #B09784;
    transform: rotate(-35deg);
    opacity: 0;
}
.popup-mask .popup .f-checkbox input:checked + span {
    opacity: 1;
}
.popup-mask .popup .notice {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #B09784;
}
.popup-mask .popup .notice a {
    text-decoration: underline;
    color: #B09784;
}

.popup-mask .popup .close {
    position: absolute;
    display: block;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    overflow: hidden;
    z-index: 110;
}
.popup-mask .popup .close:before,
.popup-mask .popup .close:after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    position: absolute;
    top: 9px;
    left: -4px;
    background: #71553A;
}
.popup-mask .popup .close:before {
    transform: rotate(45deg);
}
.popup-mask .popup .close:after {
    transform: rotate(-45deg);
}
.popup-mask .popup .title {
    padding: 50px 80px 15px 80px;
    border-bottom: 1px solid #F4EFEB;
    font-weight: 600;
    font-size: 24px;
    line-height: 24px;
    color: #2C180B;
}

.popup-mask .popup.dialog {
    min-width: 600px;
    max-width: 600px;
    padding-top: 30px;
}
.popup-mask .popup.dialog .text {

}
.popup-mask .popup.dialog .buttons {
    display: flex;
    justify-content: center;
}
.popup-mask .popup.dialog .buttons button {
    padding: 0 30px;
    margin: 0 15px;
    flex: 1 1 auto;
}
.popup-mask .popup.dialog .buttons button:first-child {
    margin-left: 0;
}
.popup-mask .popup.dialog .buttons button:last-child {
    margin-right: 0;
}

.popup-mask .popup.new-review {
    width: 870px;
}

.popup-mask .popup.new-review .errors {
    margin-bottom: 20px;
    color: red;
}
.popup-mask .popup.new-review .success {
    text-align: center;
}
.popup-mask .popup.new-review .success > div {
    margin-bottom: 5px;
}
.popup-mask .popup.new-review .purchase-required {
    text-align: center;
    padding: 10px 0;
}
.popup-mask .popup.new-review .g-sizes .size {
    margin-bottom: 6px;
    min-width: 39px;
}

.popup-mask .popup .content {
    padding: 20px 80px;
}
.popup-mask .popup .content .text {
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #2C180B;
}
.popup-mask .popup .content .r-row {
    margin-bottom: 20px;
}
.popup-mask .popup .content .r-row.score {
    margin-bottom: 30px;
}
.popup-mask .popup .content .r-row.score .g-stars {
    margin-bottom: 0;
}
.popup-mask .popup .content .r-row.in-two {
    display: flex;
    align-items: center;
}
.popup-mask .popup .content .r-row.in-two .f-label {
    width: 150px;
    min-width: 150px;
    padding-right: 24px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #2C180B;
}
.popup-mask .popup .content .agreement {
    margin-bottom: 40px;
}
.popup-mask .popup .content .agreement .r-row {
    display: flex;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #B09784;
    margin-bottom: 10px;
}
.popup-mask .popup .content .agreement .r-row .f-checkbox {
    margin: 2px 10px 0 0;
}
.popup-mask .popup .content .bottom {
    text-align: center;
    margin-bottom: 30px;
}
.popup-mask .popup .content .submit {
    padding: 0 80px;
    border: 1px solid #71553A;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    line-height: 50px;
    text-align: center;
    text-transform: uppercase;
    color: #71553A;
}
.popup-mask .popup .content .submit:hover {
    background: #71553A;
    color: #FFFFFF;
}

.popup-mask .popup.detect-size .content .top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.popup-mask .popup.detect-size .content .top .block-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 18px;
    color: #2C180B;
    width: 40%;
}
.popup-mask .popup.detect-size .content .top .reset {
    position: relative;
    display: block;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    height: 18px;
    color: #71553A;
    border-bottom: 1px dotted #B09784;
}

.popup-mask .popup.detect-size .p-row .p-column {

}
.popup-mask .popup.detect-size .p-row .p-column.or {
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    color: #B09784;
}
.popup-mask .popup.detect-size .p-row .f-label {

}
.popup-mask .popup.detect-size .p-row .g-select {
    min-width: 210px;
    max-width: 220px;
}
.popup-mask .popup.detect-size .p-row:last-child {
    margin-bottom: 10px;
}
.popup-mask .popup.detect-size .result {
    border-top: 1px solid #F4EFEB;
    padding: 20px 80px;
}
.popup-mask .popup.detect-size .result .result-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 24px;
    color: #2C180B;
    margin-bottom: 15px;
}
.popup-mask .popup.detect-size .result .p-row {
    align-items: stretch;
}
.popup-mask .popup.detect-size .result .p-row .p-column {
    width: 25%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-around;
}
.popup-mask .popup.detect-size .result .p-row .p-column .name {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #2C180B;
    margin-bottom: 10px;
}
.popup-mask .popup.detect-size .result .p-row .p-column .value {
    font-weight: 600;
    font-size: 24px;
    line-height: 24px;
    color: #B09784;
    margin-top: auto;
}
.popup-mask .popup.detect-size .result .p-row .p-column .value.is-set {
    color: #2C180B;
}
.popup-mask .popup.detect-size .result .notice {
    margin-bottom: 30px;
}

.popup-mask .popup.in-shops {

}
.popup-mask .popup.in-shops .content .text {
    margin-bottom: 20px;
}
.popup-mask .popup.in-shops .content .p-row {
    margin-bottom: 0;
}
.popup-mask .popup.in-shops .content .p-row .p-column {
    width: 30%;
}
.popup-mask .popup.in-shops .content .p-row .p-column.city {
    width: 40%;
}
.popup-mask .popup.in-shops .content .p-row .p-column .location-ext {
    font-weight: 500;
    font-size: 16px;
    margin-left: 20px;
}
.popup-mask .popup.in-shops .shops {
    padding: 0 0 20px 0;
}
.popup-mask .popup.in-shops .shops .p-row {
    margin: 0;
    padding: 20px 65px;
    border-bottom: 1px solid #F4EFEB;
    align-items: flex-start;
}
.popup-mask .popup.in-shops .shops .p-row:last-child {
    border-bottom: 0;
}
.popup-mask .popup.in-shops .shops .p-row.head {
    padding-top: 10px;
    padding-bottom: 10px;
}
.popup-mask .popup.in-shops .shops .p-row .p-column {
    width: 30%;
    padding-left: 15px;
    padding-right: 15px;
}
.popup-mask .popup.in-shops .shops .p-row .p-column.address {
    width: 50%;
}
.popup-mask .popup.in-shops .shops .p-row .p-column.shop-name {
    width: 20%;
}
.popup-mask .popup.in-shops .shops .p-row .p-column p {
    margin: 0 0 10px 0;
    line-height: 150%;
}
.popup-mask .popup.in-shops .shops .p-row .p-column p:last-child {
    margin-bottom: 0;
}
.popup-mask .popup.in-shops .shops .p-row .p-column .availability {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #533A25;
    margin-bottom: 10px;
}
.popup-mask .popup.in-shops .shops .p-row .p-column .availability.false {
    color: #B09784;
}
.popup-mask .popup.in-shops .shops .p-row .p-column .gw-button.reserve {
    font-size: 12px;
}
.popup-mask .popup.in-shops .map {
    height: 300px;
    margin-bottom: 10px;
    overflow: hidden;
    display: none;
}
.popup-mask .popup.in-shops #bookingMap {
    height: 300px;
}

.popup-mask .popup.reserve {

}
.popup-mask .popup.reserve .content {

}
.popup-mask .popup.reserve .content .text {

}
.popup-mask .popup.reserve .content .p-row {

}
.popup-mask .popup.reserve .content .p-row.contacts {
    margin-bottom: 0;
}
.popup-mask .popup.reserve .content .p-row .p-column {
    width: 30%;
}
.popup-mask .popup.reserve .content .p-row .p-column.user-name {
    width: 40%;
}
.popup-mask .popup.reserve .order-booking .p-row {
    padding: 10px 70px;
    margin: 0;
    position: relative;
}
.popup-mask .popup.reserve .order-booking .p-row .p-column {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #2C180B;
}
.popup-mask .popup.reserve .order-booking .p-row.head {
    border-bottom: 1px solid #F4EFEB;
    align-items: flex-start;
    margin-bottom: 10px;
}
.popup-mask .popup.reserve .order-booking .p-row.head .p-column {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #B09784;
}
.popup-mask .popup.reserve .order-booking .p-row.head .p-column.product-name {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #2C180B;
}
.popup-mask .popup.reserve .order-booking .p-row .p-column.product-name {
    display: flex;
    align-items: center;
    width: 40%;
}
.popup-mask .popup.reserve .order-booking .p-row .p-column.product-size {
    width: 20%;
}
.popup-mask .popup.reserve .order-booking .p-row .p-column.product-price {
    width: 20%;
}
.popup-mask .popup.reserve .order-booking .p-row .p-column.product-total {
    width: 20%;
    text-align: right;
}
.popup-mask .popup.reserve .order-booking .p-row .p-column.product-name .image {
    margin-right: 20px;
}
.popup-mask .popup.reserve .order-booking .p-row .p-column.product-name .image img {
    max-width: 61px !important;
}
.popup-mask .popup.reserve .order-booking .p-row .p-column {

}
.popup-mask .popup.reserve .order-booking .p-row .p-column .mob-label {
    display: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #B09784;
}
.popup-mask .popup.reserve .order-booking .p-row .p-column.product-price .old-price {
    text-decoration-line: line-through;
    color: #84807D;
}
.popup-mask .popup.reserve .order-booking .p-row .p-column.product-price .current-price {
    color: #2C180B;
}
.popup-mask .popup.reserve .order-booking .p-row .p-column.product-price .discount {
    color: #E13A16;
}

.popup-mask .popup.reserve .content .p-row.promo-code .p-column {
    width: 30%;
}
.popup-mask .popup.reserve .content .p-row.promo-code .p-column.field {
    width: 70%;
}
.popup-mask .popup.reserve .content .p-row.promo-code .p-column .gw-button {
    width: 100%;
}
.popup-mask .popup.reserve .content .p-row.make-order {
    margin-bottom: 30px;
}
.popup-mask .popup.reserve .content .p-row.make-order .p-column {
    text-align: center;
}
.popup-mask .popup.reserve .content .p-row.make-order .gf-button {
    width: 304px;
}
.popup-mask .popup.reserve .content .p-row.promo-code {
    align-items: start;
}
.popup-mask .popup.reserve .content .p-row.promo-code .error {
    margin-top: 5px;
}
.popup-mask .popup.reserve .content .coupon-data {
    margin-bottom: 20px;
    text-align: right;
}
.popup-mask .popup.reserve .content .coupon-data span {
    color: #E13A16;
    font-weight: 500;
}
.popup-mask .popup.reserve .content .coupon-data .discount {

}
.popup-mask .popup.reserve .content .coupon-data .total {

}

.popup-mask .popup.reserve .notice {
    margin-bottom: 30px;
}

.g-select {
    height: 48px;
    border: 1px solid #B09784;
    border-radius: 5px;
    position: relative;
}
.g-select.expand {
    border-color: #533A25;
}
.g-select .value {
    line-height: 48px;
    padding: 0 0 0 20px;
    cursor: pointer;
    color: #2C180B;
    overflow: hidden;
    white-space: nowrap;
}
.g-select.inactive .value {
    color: #B09784;
    cursor: default;
}
.g-select .value span {
    color: #B09784;
}
.g-select .value:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    margin: -5px 0 0 0;
    width: 14px;
    height: 9px;
    background: url('/local/images/arrows.png?v=2') -154px 0;
    transition-duration: .3s;
}
.g-select.inactive .value:after {
    background-position: -168px 0;
}
.g-select.expand .value:after {
    transform: rotate(180deg);
}
.g-select .values {
    background: #fff;
    position: absolute;
    width: 100%;
    top: 100%;
    left: -1px;
    margin-top: -3px;
    border: 1px solid #533A25;
    border-top: 1px solid #FCF8F6;
    box-sizing: content-box;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    display: none;
    max-height: 220px;
    overflow: hidden auto;
}
.g-select.expand .values {
    display: block;
    padding: 10px 0;
    z-index: 10;
}
.g-select .values label {
    font-size: 14px;
    line-height: 28px;
    font-weight: 400;
}
.g-select .values span {
    display: block;
    color: #71553A;
    cursor: pointer;
    padding: 0 20px;
}
.g-select .values input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}
.g-select .values input:checked + span {
    background: #FCF8F6;
    color: #533A25;
}

.popup-mask .popup.detect-size .p-row .g-select {
    min-width: 210px;
    max-width: 220px;
}
@media screen and (max-width: 1023px) {
    .popup-mask .popup .g-select {
        max-width: 100%;
    }

    .popup-mask .popup.detect-size .p-row .g-select {
        max-width: 100%;
        min-width: 100%;
    }

    .popup-mask .popup .title {
        padding-left: 14px;
        padding-right: 14px;
    }
    .popup-mask .popup {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }
    .popup-mask .popup .content {
        padding-left: 14px;
        padding-right: 14px;
    }
    .popup-mask .popup.detect-size .result {
        padding-left: 14px;
        padding-right: 14px;
    }
    .popup-mask .popup .g-select {
        max-width: 100%;
    }
    .popup-mask .popup.detect-size .p-row .g-select {
        max-width: 100%;
        min-width: 100%;
    }
    .popup-mask .popup.detect-size .p-row .p-column.or {
        max-width: 65px;
    }

    .popup-mask .popup.in-shops .shops .p-row {
        padding-left: 0;
        padding-right: 0;
    }
    .popup-mask .popup.in-shops .p-row .p-column .location-ext {
        margin-left: 0;
    }

    .popup-mask .popup.reserve .order .p-row {
        padding-left: 5px;
        padding-right: 5px;
    }
    .popup-mask .popup.reserve .notice br {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .popup-mask .popup.dialog {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .popup-mask .popup .content .text br {
        display: none;
    }

    .popup-mask .popup.detect-size .p-row {
        flex-wrap: wrap;
        margin-bottom: 0;
    }
    .popup-mask .popup.detect-size .p-row .p-column {
        width: 50%;
        margin-bottom: 20px;
    }
    .popup-mask .popup.detect-size .p-row .p-column.or {
        width: 50%;
        max-width: 50%;
    }
    .popup-mask .popup.detect-size .result .p-row .p-column {
        width: 50%;
        align-content: normal;
    }

    .popup-mask .popup.in-shops .content .p-row {
        flex-wrap: wrap;
        justify-content: flex-end;
        margin-bottom: 0;
    }
    .popup-mask .popup.in-shops .content .p-row .p-column {
        width: 100%;
        flex: none;
        margin-bottom: 20px;
    }
    .popup-mask .popup.in-shops .content .p-row .p-column.choice-shop {
        text-align: center;
        margin-bottom: 0;
    }
    .popup-mask .popup.in-shops .content .p-row .p-column .location-ext {
        margin-left: 0;
    }
    .popup-mask .popup.in-shops .content .p-row .p-column.choice-shop .column-label {
        display: none;
    }
    .popup-mask .popup.in-shops .content .p-row .p-column.city {
        width: 100%;
    }
    .popup-mask .popup.in-shops .shops .p-row.head {
        display: none;
    }
    .popup-mask .popup.in-shops .shops .p-row {
        flex-wrap: wrap;
    }
    .popup-mask .popup.in-shops .shops .p-row .p-column {
        width: 100%;
        margin-bottom: 10px;
    }
    .popup-mask .popup.in-shops .shops .p-row .p-column.shop-name {
        width: 100%;
        font-weight: 600;
    }
    .popup-mask .popup.in-shops .shops .p-row .p-column.address {
        width: 100%;
    }
    .popup-mask .popup.in-shops .shops .p-row .p-column p {
        margin-bottom: 5px;
    }

    .popup-mask .popup.reserve .order .p-row.head {
        padding-left: 5px;
        padding-right: 5px;
    }
    .popup-mask .popup.reserve .order .p-row.head .p-column {
        display: none;
    }
    .popup-mask .popup.reserve .order .p-row.head .p-column.product-name {
        display: block;
    }

    .popup-mask .popup.reserve .order .p-row {
        display: block;
        padding-left: 81px;
        padding-top: 0;
    }
    .popup-mask .popup.reserve .order .p-row .image {
        position: absolute;
        left: 15px;
        top: 0;
    }
    .popup-mask .popup.reserve .order .p-row .p-column.product-name,
    .popup-mask .popup.reserve .order .p-row .p-column.product-price,
    .popup-mask .popup.reserve .order .p-row .p-column.product-size,
    .popup-mask .popup.reserve .order .p-row .p-column.product-total {
        width: 100%;
        text-align: left;
        font-size: 14px;
    }
    .popup-mask .popup.reserve .order .p-row .p-column .mob-label {
        display: inline-block;
        margin-right: 15px;
    }

    .popup-mask .popup.reserve .content .p-row {
        flex-wrap: wrap;
    }
    .popup-mask .popup.reserve .content .p-row.promo-code {
        flex-wrap: nowrap;
    }
    .popup-mask .popup.reserve .content .p-row .p-column {
        width: 100%;
        margin-bottom: 10px;
    }
    .popup-mask .popup.reserve .content .p-row .p-column:last-child {
        margin-bottom: 0;
    }
    .popup-mask .popup.reserve .content .p-row.promo-code .p-column:last-child {
        margin-bottom: 10px;
    }
}

.product-sizes-popup{
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    height: calc(100% - 138px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 20;
}

.product-sizes-popup.hidden {
    display: none;
}

.product-sizes-popup__modal {
    background-color: #fff;
    position: relative;
    min-width: 493px;
}

.product-sizes-popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: url("images/close.svg") no-repeat center;
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.product-sizes-popup__header {
    padding: 50px 50px 15px 50px;
    font: normal 600 24px 'Montserrat';
    border-bottom: 1px solid #F4EFEB;
}

.product-sizes-popup__body {
    padding: 20px 50px 50px;
}

.product-sizes-popup .items {
    margin-bottom: 20px;
}

.product-sizes-popup .name {
    font: normal 500 16px/18px 'Montserrat';
    margin-bottom: 10px;
    display: block;
    color: #2C180B;
}

.product-sizes-popup-opened {
    overflow-y: hidden;
}

.product-panel__costume-item:not(:last-child):after {
    content: '/';
}

.g-loading {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 100;
}
.g-loading:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
}
.g-loading:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -30px 0 0 -30px;
    width: 60px;
    height: 60px;
    background: url('/local/images/loader.svg') no-repeat;
}

.gi-button {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    color: #71553A;
    padding: 0 0 0 26px;
    text-decoration: none;
    white-space: nowrap;
}
.gi-button:after {
    content: '';
    display: block;
    position: absolute;
    border-bottom: 1px dotted #B09784;
    bottom: 0;
    width: calc(100% - 26px);
}
.gi-button:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
}
.gi-button:hover {
    color: #533A25;
}
.gi-button.choose-size:before {
    width: 23px;
    height: 17px;
    background: url('/local/images/icons.png?v=2') -42px 0;
}
.gi-button.choose-size:hover:before {
    background-position: -65px 0;
}
.gi-button.location-ext {
    padding-left: 20px;
}
.gi-button.location-ext:after {
    width: calc(100% - 20px);
}
.gi-button.location-ext:before {
    width: 14px;
    height: 20px;
    top: 2px;
    background: url('/local/images/icons.png?v=2') -308px 0;
}
.gi-button.location-ext:hover:before {
    background-position: -322px 0;
}

.gw-button {
    display: block;
    height: 50px;
    line-height: 50px;
    border-radius: 5px !important;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    color: #71553A;
    border: 1px solid #71553A;
}
.gw-button:hover {
    border: 1px solid #533A25;
    color: #533A25;
}
.gf-button {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: .03em;
    display: inline-block;
    background-color: #000;
    color: #fff;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    border-radius: 3px;
    padding: 18px 0;
    opacity: 1;
    transition: opacity .3s;
}
.gf-button:hover {
    opacity: .8;
}
.e-hidden {
    display: none;
}
.red, .error {color:#b7272d !important;}

.shop_title{margin-bottom:10px;font-size:18px;line-height:1.1;color:#9e7c61;}
.shop_title a{color:#9e7c61;text-decoration:underline;}
.shop_title a:hover{text-decoration:none;color:#2c180b;}

.shop_working_hours{color:#84807d;font-size:14px;}
.shop_working_hours{padding-left:12px;}

.popup-reserve {
    font-family: TTFirs, sans-serif;
    background: #FFFFFF;
    position: relative;
    text-align: left;
    white-space: normal;
}
.popup-reserve.popup-wrapper {
    width: 741px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;

    @media (max-width: 1280px) {
        width: 505px;
    }
}
.popup-reserve__inner {
    width: 100%;
    height: 100%;
    padding: 50px 20px 0;
    overflow: auto;
    position: relative;
}

.popup-reserve__inner::-webkit-scrollbar-thumb {
    -webkit-border-radius: 30px;
    border-radius: 30px;
    background-color: #666666;
    width: 2px;
    height: 348px;
}

.popup-reserve__inner::-webkit-scrollbar {
    width: 2px;
}

.popup-reserve .close {

}

.popup-reserve__close-desktop {
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #000;
    opacity: 0.4;
    text-align: right;
    padding-right: 10px;
    display: block;

    &:hover {
        opacity: .8;
    }

    @media screen and (max-width: 1280px) {
        display: none;
    }
}

.popup-reserve__close-mobile {
    display: none;
    color: #000;
    position: absolute;
    top: 20px;
    right: 15px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2748_8283)'%3E%3Cpath d='M18 1.10064L16.8466 -0.0527344L9 7.79389L1.15312 -0.0527344L0 1.10064L7.84687 8.94727L0 16.7939L1.15312 17.9473L9 10.1006L16.8466 17.9473L18 16.7939L10.1536 8.94727L18 1.10064Z' fill='black'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2748_8283'%3E%3Crect width='18' height='18' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100%;

    @media screen and (max-width: 1280px) {
        display: block;
    }
}

.popup-reserve .ajax-container {
    height: 98%;
}

.popup-reserve form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.popup-reserve .title {
    color: #131613;
    font-size: 38px;
    font-style: normal;
    font-weight: 400;
    line-height: 48px;
    letter-spacing: -0.76px;
    margin: 0 0 12px;
}

.popup-reserve .text {
    color: #000;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    margin: 0 0 36px;
    max-width: 550px;
}

.popup-reserve .contacts {
    display: flex;
    flex-direction: column;
    margin-bottom: 54px;
    gap: 16px;
}

.popup-reserve .p-column {
    width: 100%;
    position: relative;
    border-bottom: 1px solid #000;
    padding: 13px 0;
}

.popup-reserve .p-column input {
    font-size: 17px;
    font-weight: 400;
    line-height: 21px;
    color: #000;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: none;
}
.popup-reserve .p-column:has(input.error) {
    border-bottom: 1px solid #EF3838;
}

.popup-reserve .p-column input::placeholder {
    opacity: .5;
}
.popup-reserve .order-name {
    color: #000;
    font-size: 23px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    margin-bottom: 13px;
}

.popup-reserve .item {
    display: grid;
    grid-template-columns: 113px repeat(3, 1fr);
    column-gap: 20px;
    grid-template-rows: auto 60px auto;
    grid-template-areas:
			"image title title price"
			"image info info ."
			"image count . delete";

    @media screen and (max-width: 1280px) {
        grid-template-columns: 113px repeat(2, 1fr) 60px;
        grid-template-rows: auto 50px 1fr;
        grid-template-areas:
				"image title title delete"
				"image info info ."
				"image count price price";
    }

    @media screen and (max-width: 768px) {
        grid-template-columns: 113px repeat(2, 1fr) 25px;
        column-gap: 15px;
        padding-top: 5px;
    }
}

.popup-reserve .item__img {
        grid-area: image;
        overflow: hidden;
        width: 113px;
        height: 156px;
        margin: 5px 0 0 0;

        @media screen and (max-width: 768px) {
            height: 156px;
            margin: 0;
        }

        img {
            display: block;
            width: 100%;
            max-width: 100%;
            height: auto;
            object-fit: contain;
        }
    }

.popup-reserve .item__title {
    color: #070604;
    font-size: 23px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    grid-area: title;
    margin: 0 0 6px 0;

    @media screen and (max-width: 1280px) {
        margin: 0 0 3px 0;
    }

    @media screen and (max-width: 768px) {
        font-size: 18px;
        line-height: 21px;
        margin: -2px 0 5px 0;
    }
}

.popup-reserve .item__price {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: .02em;
    grid-area: price;
    display: flex;
    justify-content: flex-end;
    justify-self: flex-end;
    width: fit-content;
    height: fit-content;
    white-space: nowrap;
    margin: 7px 0 0 0;

    @media screen and (max-width: 1280px) {
        align-self: flex-end;
        margin: 0 0 3px 0;
    }

    @media screen and (max-width: 768px) {
        font-size: 14px;
        line-height: 18px;
        letter-spacing: .01em;
    }

    @media screen and (max-width: 550px) {
        flex-direction: column;
        margin-top: 10px;
    }
}

.popup-reserve .item__price-current {
    border: 1px solid #000;
    border-radius: 50px;
    padding: 3px 7px;
}

.popup-reserve .item__price-old {
    align-self: center;
    text-decoration: line-through;
    color: #868686;
    margin: 0 10px 0 0;

    @media screen and (max-width: 550px) {
        margin: 0 0 6px 0;
    }
}

.popup-reserve .item__info {
    grid-area: info;

    @media screen and (max-width: 1280px) {
        display: flex;
        font-size: 17px;
        font-weight: 400;
        line-height: 21px;
        flex-direction: column;
    }

    @media screen and (max-width: 768px) {
        font-size: 14px;
        line-height: 18px;
        letter-spacing: 0.01em;
    }
}

.popup-reserve .item__count {
    grid-area: count;

    @media screen and (max-width: 1280px) {
        align-self: flex-end;
    }
}

.popup-reserve .item__color {
    margin: 0 0 3px 0;

    @media screen and (max-width: 1280px) {
        margin: 0 10px 0 0;
    }
}

.popup-reserve .basket__inputs {
    width: 100%;
    margin: 36px 0 10px;
    padding: 0 0 0 0;

    @media (max-width: 1280px) {
        margin: 36px 0 18px;
    }

    @media (max-width: 768px) {
        margin: 24px 0 10px;
        padding: 0 4px 0 0;
    }
}

.popup-reserve .basket__inputs .error{
    margin-top: 8px;
}

.popup-reserve .input-text-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border: 1px solid #8e8e8e;
    border-radius: 3px;
    padding: 13px 14px;
    transition: all .3s;
}

.popup-reserve .input-text-button input {
    font-weight: 400;
    font-size: 17px;
    line-height: 21px;
    color: #000;
    flex-grow: 1;

    @media screen and (max-width: 768px) {
        font-size: 14px;
        line-height: 18px;
        letter-spacing: .01em;
    }
}

.popup-reserve .input-text-button button {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #858585;
    transition: all .3s;
}

.popup-reserve .total {
    margin-top: auto;
    background-color: #fff;
    width: 100%;
    padding: 12px 0 20px;
}
.popup-reserve .total__head {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 18px 0;

    @media screen and (max-width: 768px) {
        margin: 0 0 12px 0;
    }
}

.popup-reserve .total__head > * {
    font-size: 23px;
    font-weight: 400;
    line-height: 30px;

    @media screen and (max-width: 1280px) {
        font-size: 23px;
        line-height: 30px;
    }

    @media screen and (max-width: 768px) {
        font-size: 18px;
        line-height: 21px;
    }
}

.popup-reserve .total__body {
    margin: 0 0 14px 0;

    @media screen and (max-width: 1280px) {
        margin: 0 0 14px 0;
    }

    @media screen and (max-width: 768px) {
        margin: 0 0 6px 0;
    }
}

.popup-reserve .counter__wrapper {
    display: flex;
    border: 1px solid #000;
    border-radius: 3px;
    width: fit-content;
    min-width: 100px;
    padding: 7px 0;
}

.popup-reserve .counter__wrapper > * {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-reserve .counter__minus,
.popup-reserve .counter__plus  {
    padding: 0 18px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .popup-reserve.popup-wrapper {
        width: 100%;
    }
    .popup-reserve__inner {
        padding: 50px 10px 0;
    }
    .popup-reserve .title {
        font-size: 34px;
    }

    .popup-reserve .contacts {
        margin-bottom: 36px;
    }
    .popup-reserve .order-name {
        font-size: 18px;
        margin-bottom: 12px;
    }
}
