//overwrite this - start @color-main: #E9959B; @color-form-text: #000000; @color-btn: @color-main; @color-btn-text: #000000; @color-errors: #950e0e; //@color-errors: #d68cf4; @color-message-success: #140c09; @color-message-success-bg: #f7bcd3; @color-message-success-border: #140c09; @popup_img: "../../images/ai/widget_popup_sale/popup_bg_black_friday_23.svg"; @popup_img_mobile: "../../images/ai/widget_popup_sale/popup_bg_black_friday_23_mobile.svg"; @close_img: "../../images/ai/widget_popup_sale/popup_closer_white.svg"; @closer_width: 30px; @closer_height: 30px; @closer_width_mobile: 30px; @closer_height_mobile: 30px; @checkbox-img: 'data:image/svg+xml,'; @color-check: @color-main; @erid_dots_mt: -5px; @erid_dots_ml: 0; @erid_dots_mt_mobile: -5px; @erid_dots_ml_mobile: 0; //overwrite this - end .popup-wrapper { display: flex; align-items: center; justify-content: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999999; background: rgba(0,0,0,0.5); -webkit-transition: opacity 200ms ease-in; -moz-transition: opacity 200ms ease-in; transition: opacity 200ms ease-in; opacity: 1; pointer-events: auto; &.popup-sale-hide { opacity: 0; pointer-events: none; } } .popup-sale.popup-sale-widget-promo { display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; width: 900px; height: 600px; border-radius: 20px; position: relative; overflow: hidden; background-image: url(@popup_img); background-repeat: no-repeat; background-size: contain; .closer { cursor: pointer; background: url(@close_img) no-repeat; background-size: cover; height: @closer_height; width: @closer_width; @media screen and (max-width: 639px) { height: @closer_height_mobile; width: @closer_width_mobile; } } .closer-wrap { align-self: flex-end; display: flex; gap: 20px; align-items: center; justify-content: space-between; width: 100%; margin-top: 20px; padding: 0 20px; z-index: 6; @media screen and (max-width: 900px) { margin-top: 10px; } .erid_dots { margin-top: @erid_dots_mt; margin-left: @erid_dots_ml; color: white !important; @media screen and (max-width: 900px) { margin-top: @erid_dots_mt_mobile; margin-left: @erid_dots_ml_mobile; } } } .popup-content.loadable.loading:after { background-image: url('../../images/horizontal_loader_pink.gif'); background-color: rgba(255, 255, 255, 0.9); } .popup-content { z-index: 5; padding: 0 65px 30px 65px; #popup-sale-form { padding: 0; font-family: 'Inter', sans-serif; .popup-sale-row { display: flex; flex-direction: column; align-items: center; vertical-align: baseline; flex-wrap: wrap; .invalid-feedback { text-align: right; font-style: italic; color: @color-errors; font-size: 14px; padding-right: 5px; @media screen and (max-width: 900px) { font-size: 12px; line-height: 14px; } @media screen and (max-width: 639px) { display: none !important; } } .js-messages { display: flex; justify-content: center; width: 100%; margin-bottom: 0; font-size: 18px; font-weight: 700; font-family: 'Open Sans', sans-serif; letter-spacing: 0.04em; .message-error { z-index: 100; position: absolute; top: -20px; width: 95%; text-align: center; color: @color-errors; border: solid 2px; padding: 0 10px; @media screen and (max-width: 639px) { top: 0; } } .message-success { z-index: 100; position: absolute; top: -20px; width: 95%; text-align: center; color: @color-message-success; border-radius: 10px; background-color: @color-message-success-bg; padding: 10px 20px; border: 1px solid @color-message-success-border; @media screen and (max-width: 639px) { top: 0; } } } .other-contacts-wrap { display: flex; flex-direction: row; justify-content: space-between; width: 100%; font-family: 'Open Sans', sans-serif; font-style: normal; font-weight: 400; font-size: 17px; line-height: 23px; color: @color-form-text; margin-bottom: 15px; .name { flex: 1; text-align: right; label.is-invalid { margin-bottom: 0; @media screen and (max-width: 639px) { margin-bottom: 10px; } } label { font-size: 17px; font-style: normal; font-weight: 400; line-height: 23px; color: @color-form-text; } input[type="text"].is-invalid, input[type="text"]:active.is-invalid, input[type="text"]:focus.is-invalid { border: 1px solid @color-errors; border-radius: 5px; } input[type="text"] { margin-left: 20px; max-width: 100%; width: 319px; height: 21px; border: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 1px solid @color-form-text; background: none; font-style: normal; font-weight: 500; font-size: 17px; line-height: 21px; color: @color-form-text; text-align: center; } input[type="text"]:focus-visible { border: none; outline: none; background: none; } input[type="text"]:focus, input[type="text"]:active { background: none; border: 1px solid @color-errors; border-radius: 5px; //box-shadow: 2px 2px 2px #d68cf4; } } .email { flex: 1; text-align: right; label.is-invalid { margin-bottom: 0; @media screen and (max-width: 639px) { margin-bottom: 10px; } } label { font-size: 17px; font-style: normal; font-weight: 400; line-height: 23px; color: @color-form-text; } input[type="email"].is-invalid, input[type="email"]:focus.is-invalid, input[type="email"]:active.is-invalid { border: 1px solid @color-errors; border-radius: 5px; } input[type="email"] { margin-left: 15px; max-width: 100%; width: 254px; height: 21px; border: 0; border-bottom: 1px solid @color-form-text; background: none; font-style: normal; font-weight: 500; font-size: 17px; line-height: 21px; color: @color-form-text; text-align: center; } input[type="email"]:focus-visible { border: none; outline: none; background: none; } input[type="email"]:focus, input[type="email"]:active { background: none; border: 1px solid @color-errors; border-radius: 5px; //box-shadow: 2px 2px 2px #d68cf4; } } } .main-contacts-wrap { display: flex; flex-direction: row; justify-content: space-between; width: 100%; gap: 69px; .tel-button-wrap { display: flex; flex-direction: row; flex-basis: 50%; justify-content: space-between; .tel.is-invalid { border: 1px solid @color-errors; } .tel { box-sizing: border-box; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0; width: 209px; height: 45px; border: 1px solid @color-form-text; border-radius: 100px; label { margin-bottom: 0; } input[type="tel"] { max-width: 100%; width: 169px; height: 21px; border: none; background: none; //backdrop-filter: blur(30px); font-style: normal; font-weight: 500; font-size: 17px; line-height: 21px; color: @color-form-text; flex: none; order: 0; flex-grow: 0; text-align: center; } input[type="tel"]:focus { border: none; outline: none; background: none; } .invalid-feedback { text-align: center; } } .button { display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0; width: 144px; height: 45px; background: @color-btn; border-radius: 100px; } .button.button-primary { font-style: normal; font-weight: 500; font-size: 17px; line-height: 21px; color: @color-btn-text; } } .for-checkbox { flex: 1; display: flex; align-items: baseline; width: 235px; height: 34px; font-size: 14px; line-height: 16.8px; font-weight: 400; color: @color-form-text; align-self: center; a, a:active, a:hover { color: @color-form-text; text-decoration: underline; } a.is-invalid, a.is-invalid:active, a.is-invalid:hover { color: @color-errors; } .invalid-feedback { display: none !important; } .politics-checkbox { position: absolute; z-index: -1; opacity: 0; } .politics-checkbox+label { display: inline-flex; align-items: center; justify-content: center; user-select: none; font-size: 14px; @media screen and (max-width: 900px) { font-size: 10px; } @media screen and (max-width: 639px) { font-size: 14px; } } .politics-checkbox+label::before { content: ''; display: inline-block; width: 26px; height: 26px; flex-shrink: 0; flex-grow: 0; border: 1px solid @color-check; border-radius: 0.25em; margin-right: 3%; background-repeat: no-repeat; background-position: center center; background-size: 50% 50%; color: @color-btn-text; } .politics-checkbox:checked+label::before { border-color: @color-check; background-color: @color-check; background-image: url(@checkbox-img); background-size: auto; } .politics-checkbox:not(:disabled):not(:checked)+label:hover::before { border-color: @color-errors; } .politics-checkbox:not(:disabled):active+label::before { background-color: #e9ecef; border-color: #e9ecef; } .politics-checkbox:focus+label::before { box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.4); } .politics-checkbox:focus:not(:checked)+label::before { border-color: @color-main; } .politics-checkbox:disabled+label::before { background-color: #e9ecef; } span { width: 100%; @media screen and (max-width: 639px) { width: 280px; } } } } input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus { -webkit-text-fill-color: #000000; -webkit-box-shadow: 0 0 0px 40rem #fcf6f6 inset; } input { border-top-left-radius: 5px; border-top-right-radius: 5px; } } } } } @media screen and (max-width: 900px) { .popup-sale.popup-sale-widget-promo { width: 600px; height: 400px; .popup-content { padding: 0 15px; margin-bottom: 10px; #popup-sale-form { padding: 0; .popup-sale-row { .js-messages { .message-success { margin-bottom: 10px; } } .other-contacts-wrap { margin-bottom: 7px; .name { input[type="text"] { width: 80%; } } .email { input[type="email"] { width: 70%; } } } .main-contacts-wrap { gap: 10px; .tel-button-wrap { display: contents; .tel { padding: 10px 20px; width: 200px; } .button.button-primary { font-size: 13px; } .button { padding: 10px 20px; width: 120px; } } .for-checkbox { font-size: 14px; } } } } } } } @media screen and (max-width: 639px) { .popup-wrapper { display: flex; align-items: flex-start; flex-direction: row; justify-content: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(to top, rgba(35, 31, 32, 0.73), rgba(245, 245, 245, 0.89)); background-position-x: initial; background-position-y: initial; background-size: initial; background-repeat-x: initial; background-repeat-y: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; } .popup-sale.popup-sale-widget-promo { margin-top: 20px; height: 600px; width: 400px; border-radius: 0; background-image: url(@popup_img_mobile); background-repeat: no-repeat; background-size: contain; background-position: center; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; position: relative; overflow: hidden; @media (max-width: 400px) { display: grid; grid-template-rows: 40px 1fr; width: calc(100vw - 10px); height: calc( (100vw - 10px) * 3 / 2 ); } .popup-content { display: flex; justify-content: center; align-items: center; margin-bottom: 20px; height: 177px; @media (max-width: 400px) { align-self: end; margin-bottom: 4%; } #popup-sale-form { .popup-sale-row { display: flex; align-items: flex-start; flex-direction: row; justify-content: space-between; flex-wrap: wrap; .js-messages { .message-success { text-align: center; margin-bottom: 65px; } } .other-contacts-wrap { flex-direction: column; margin-bottom: 7px; .name { display: flex; justify-content: space-between; input[type="text"] { width: 80%; } } .email { display: flex; justify-content: space-between; input[type="email"] { width: 80%; } } } .main-contacts-wrap { flex-wrap: wrap; gap: 0; .tel-button-wrap { display: contents; .tel { margin-bottom: 5px; padding: 0 10px; width: auto; } .button.button-primary { margin-bottom: 5px; font-size: 16px; line-height: 19px; } .button { padding: 0 20px; width: auto; } } .for-checkbox { width: auto; justify-content: center; margin: 5px 5px 0 5px; label { font-size: 13px; a { text-decoration: underline; } } } } } } } } } @media screen and (max-width: 365px) { .popup-sale.popup-sale-widget-promo .popup-content #popup-sale-form .popup-sale-row .main-contacts-wrap .tel-button-wrap .tel { height: 35px; input[type="tel"] { width: 135px; font-size: 14px; } } .popup-sale.popup-sale-widget-promo .popup-content #popup-sale-form .popup-sale-row .main-contacts-wrap .tel-button-wrap .button.button-primary { height: 35px; } .popup-sale.popup-sale-widget-promo .popup-content #popup-sale-form .popup-sale-row .main-contacts-wrap .for-checkbox .politics-checkbox + label { font-size: 12px; } .popup-sale.popup-sale-widget-promo .popup-content #popup-sale-form .popup-sale-row .main-contacts-wrap .for-checkbox label { font-size: 12px; } .popup-sale.popup-sale-widget-promo .popup-content #popup-sale-form .popup-sale-row .main-contacts-wrap .for-checkbox span { width: 250px; } .popup-sale.popup-sale-widget-promo .popup-content #popup-sale-form .popup-sale-row .other-contacts-wrap .name label, .popup-sale.popup-sale-widget-promo .popup-content #popup-sale-form .popup-sale-row .other-contacts-wrap .email label{ font-size: 14px; } .popup-sale.popup-sale-widget-promo .popup-content #popup-sale-form .popup-sale-row .other-contacts-wrap .name input[type="text"], .popup-sale.popup-sale-widget-promo .popup-content #popup-sale-form .popup-sale-row .other-contacts-wrap .email input[type="email"]{ margin-left: 0; } .popup-sale.popup-sale-widget-promo .popup-content { padding: 0 3%; margin-bottom: 1%; } }