.rd__dialog-product-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    gap: 15px;
    flex-direction: column;
}

.rd__dialog-product-info .rd__product-title {
    white-space: normal;
    overflow-wrap: break-word;
}

.rd__dialog-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rd__form-field {
    position: relative;
}

.rd__form-field input:not([type="checkbox"]) {
    width: 100%;
    padding: 20px 15px 5px 20px;
    border-radius: 20px;
    border: 1px solid #949494;
    font-size: 16px;
}

.rd__form-field input[type="checkbox"] {
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.rd__form-field label a {
    pointer-events: auto;
    color: #337ab7;
    text-decoration: underline;
}

.rd__form-field label {
    cursor: text;
    display: block;
    position: absolute;
    left: 20px;
    top: 15px;
    color: #aaa;
    transition: .2s;
    font-size: 16px;
}

.rd__form-field input:not([type="checkbox"]):focus + label,
.rd__form-field input:not([type="checkbox"]):not(:placeholder-shown) + label {
    top: 5px;
    font-size: 10px;
    color: #147127;
}

.rd__form-field input:not([type="checkbox"])::placeholder {
    color: transparent;
}

.rd__form-field input:not([type="checkbox"]):focus::placeholder {
    color: #aaa;
}


.rd__dialog-form input:focus,
.rd__dialog-form input:hover {
    border-color: #147127;
}

.rd__dialog-form input.rd__input-error {
    border: 1px solid #EA1C15;
}

.rd__dialog-submit-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.rd__dialog-submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 30px;
    background-color: #147127;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.rd__dialog-agreement {
    font-size: 12px;
    line-height: 1.4;
    color: #A1A1A1;
    text-align: center;
    gap: 0;
}

.rd__consent-text {
    font-size: 12px;
}

.rd__dialog-consent-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.rd__dialog-consent-container a {
    color: #337ab7;
    text-decoration: underline;
}

.rd__dialog .rd__dialog-title {
    text-align: center;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 15px;
}

.rd__dialog .rd__dialog-text {
    text-align: center;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 50px 0;
}

.rd__consent-link {
    color: #147127;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.rd__dialog-image {
    position: relative;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.rd__dialog #modal-product-image {
    max-width: none;
    width: 100%;
    border-radius: 4px;
}

.rd__privacy-consent {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rd__privacy-consent input[type="checkbox"] {
    accent-color: #147127;
}

#address-suggestions {
    position: absolute;
    display: none;
    max-height: 150px;
    background: #fff;
    border: 1px solid #ccc;
    overflow-y: auto;
}

/* Блок добавить к заказу */
.rd__dialog .widget.module255 {
    box-shadow: 0 2px 15px 0 #74747433;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
}

.rd__dialog .widget.module255 .widget-title .main-title {
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.rd__dialog .widget.module255 .widget-title {
    margin-bottom: 20px;
}

.rd__dialog .widget.module255 .widget-title .main-title span {
    font-size: 14px;
}

.rd__dialog .widget.module255 .widget-title {
    margin-bottom: 20px;
}

.rd__dialog .widget.module255 .widget-title .main-title span {
    padding-left: 0;
}

.rd__dialog .widget.module255 .widget-title .main-title:before {
    display: none;
}

.rd__dialog .widget.module255 .nav-tabs {
    display: flex;
    background: #EFEEEE;
    border-radius: 20px;
    color: #424242;
    width: fit-content;
    position: relative;
    margin-bottom: 20px;
    border: none;
    flex-wrap: unset;
}
.rd__dialog .widget.module255 .nav-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.rd__dialog .widget.module255 .nav-tabs li {
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid transparent;
    font-weight: normal;
    background: #EFEEEE;
    margin-bottom: 0;
    margin-right: 0;
}

.rd__dialog .widget.module255 .nav-tabs li a {
    font-weight: normal;
    padding: 10px 10px;
    text-transform: capitalize;
    font-size: 12px;

    @media (max-width: 650px) {
        padding: 5px 7px;
    }

    @media (max-width: 599px) {
        padding: 5px 12px;
        font-size: 14px;
        line-height: 1.5;
    }
}

.rd__dialog .widget.module255 .nav-tabs li a:hover,
.rd__dialog .widget.module255 .nav-tabs li a:focus {
    background-color: transparent;
    opacity: 0.7;
    color: #424242;
}

.rd__dialog .widget.module255 .nav-tabs li.active a, .widget .nav-tabs li.active a:hover {
    background-color: transparent !important;
    color: #424242 !important;
    font-weight: normal;
}

.rd__dialog .widget.module255 .nav-tabs li.active {
    background: white;
    cursor: default;
    border: 1px solid lightgray;
}

.rd__dialog .widget.module255.grid .single-product .product-name {
    width: 100%;
    min-height: 50px;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
}

.rd__dialog .widget.module255.grid .single-product .price-wrapper {
    display: flex !important;
    justify-content: space-between;
}

.rd__dialog .widget.module255.grid .single-product .price-wrapper .btn-outline.buy-button-style1 {
    transition: .3s all ease;
    background: white !important;
    box-shadow: none;
    padding-left: 16px !important;
    padding-right: 16px !important;
    white-space: nowrap;
    display: flex !important;
    align-items: center;
    border-radius: 30px
}

.rd__dialog .widget.module255.grid .single-product .price-wrapper .btn-outline.buy-button-style1:hover {
    opacity: .7;
}

.rd__dialog .widget.module255.grid .single-product .price {
    font-weight: 500;
    margin-top: 2px;
    border-top: 0;
}

.rd__dialog .widget.module255.grid .single-product .price span {
    font-size: 12px;
}

.rd__dialog .widget.module255 .widget_bottom_btn .btn.btn-default {
    box-shadow: none;
    color: white;
    border-radius: 15px;
    background: #2EB86C;
    border: none;
    width: 133px;
    height: 33px;
    text-transform: math-auto;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin: 30px auto;
}

.rd__dialog .widget.module255 .single-product .price-wrapper .btn-outline {
    border-radius: 5px;
    font-weight: 400 !important;
    font-size: 14px !important;
    display: inline-block !important;
    border: none !important;
    padding: 6px 60px !important;
    height: 32px !important;
    border: 1px solid #2EB86C !important;
    color: #2EB86C !important;
}

.rd__dialog .widget.module255.grid .single-product .price-wrapper .btn-outline.buy-button-style1:hover {
    background: none;
    box-shadow: none;
    opacity: .7;
}

.rd__dialog .widget.module255 .carousel .arrow-left, .widget .carousel .arrow-right {
    top: 100px;
    margin-top: 0;
    opacity: 1;
    transition: unet;
}

.rd__dialog .widget.module255 .icon-arrow-left:before, .rd__dialog .widget .icon-arrow-right:before {
    content: "";
    background-color: white;
    background-image: url(/image/icon/icon-arrow-slider-right.svg);
    width: 44px;
    height: 44px;
    position: absolute;
    background-repeat: no-repeat;
    border-radius: 100%;
    background-position: center;
    border-color: gray;
    border: 1px solid #e9e9e9;
}

.rd__dialog .widget.module255 .icon-arrow-left:before {
    transform: translateY(-50%) translateX(-50%) rotate(180deg);
}

.rd__dialog .widget.module255 .icon-arrow-right:before {
    transform: translateY(-50%) translateX(-50%) ;
}

.category-arrow-left,
.category-arrow-right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #e9e9e9;
    background-color: white;
    background-image: url(/image/icon/icon-arrow-slider-right.svg);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    flex-shrink: 0;
}

.category-arrow-left {
    transform: rotate(180deg);
    margin-right: 10px;
}

.category-arrow-right {
    margin-left: 10px;
}

.rd__dialog .widget.module255 .slick-track .single-product .icons-wrapper {
    display: none;
}

.rd__dialog .widget.module255.grid .single-product .image {
    border-radius: 15px;
}

.rd__dialog .widget.module255 .single-product .caption {
    text-align: left;
    margin-top: 20px;
    padding-left: 0;
}

.rd__dialog .grid-holder {
    font-size: 0;
    margin: 0;
}

.checkbox-purchase {
    width: 20px;
    height: 20px;
    border-radius: 16px;
    margin-right: 6px;
    accent-color: #222222;
}

@media (max-width: 599px) {
    .rd__dialog .widget.module255.grid .single-product .price-wrapper {
        flex-wrap: wrap;
        gap: 8px;
    }
    .rd__dialog .widget.module255 .icon-arrow-left:before,
    .rd__dialog .widget .icon-arrow-right:before {
        width: 28px;
        height: 28px;
        background-size: 6px;
    }
    .rd__dialog .widget.module255 .carousel .slick-arrow {
        top: 90px;
    }
    .rd__dialog .widget.module255 .carousel .arrow-left {
        left: 6px ! important;
    }
    .rd__dialog .widget.module255 .carousel .arrow-right {
        right: 6px ! important;
    }
}
