* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    height: 100%;
    min-width: 318px;
    position: relative;
    font-family: "Inter";
    font-weight: normal;
    background-color: #F2F2F2;
}

a {
    text-decoration: none;
    white-space: nowrap;
    color: inherit;
    display: inline-block;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    background-color: transparent;
}

a:active,
a:focus {
    outline: none !important;
}
a::-moz-focus-inner {
    border: 0px !important;
}

li {
    list-style: none;
}

body svg {
    fill-rule: evenodd;
}

button,
input,
textarea {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    border: none;
    background: none;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    white-space: nowrap;
}

textarea {
    resize: none;
}

button:active,
input:active,
button:focus,
input:focus {
    outline: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
}

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

/* containers */

.container-fixed {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.container-2-column {
    display: grid;
    grid-template-columns: 1fr 3fr;
    margin-top: 16px;
    gap: 24px;
}

.container-full {
    width: 100%;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

/* modificators */

.hide,
.hidden {
    display: none !important;
}

.disabled {
    cursor: default !important;
    background-color: gray !important;
}

/* elements */

[data-element="preloader"] {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	z-index: 999;
    background-image: url('/files/public/icons/icon-loader.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 200px 200px;
    background-color: rgba(255, 255, 255, 0.5);
}

/* link */
.link {    
    position: relative;
    background-color: #681413;
    padding: 5px 0;
}
.link.active {
    color: #AE2220;
    font-weight: bold;
    font-family: "Inter";
}
.link.active::before {
    color: #AE2220;
    content: none;
}
.link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    background-color: white;
    width: 100%;
    height: 1px;
    transition: width 0.2s ease-in;
}
.link:hover::before {
    width: 0%;
}

/* form */
/* basket-form */
.form {
    background-color: white;
    padding: 8px 32px 32px 32px;
    display: flex;
    flex-direction: column;
}
.form__group {
    margin-top: 24px;
}
.form__group_grid-3fr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}
.form__group-title,
.form__label {
    padding-left: 16px;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    letter-spacing: 2px;
    color: rgba(45, 45, 45, 0.6);
    margin-bottom: 4px;
}
.form__label {
    text-transform: uppercase;
    display: inline-block;
}
.form__group-title {
    margin-bottom: 11px;
}
.form__label_require {

}
.form__input {
    background: #F2F2F2;
    border-radius: 8px;
    font-size: 16px;
    line-height: 24px;
    color: rgba(45, 45, 45, 0.6);
    padding: 8px 0 8px 16px;
    font-family: "Inter";
    font-style: normal;
    font-weight: normal;
    cursor: text;
    user-select: text;
    outline: 1px solid transparent;
}
.form__input.error {
    outline: 1px solid #AE2220;
}
.form__input_textarea {
    padding-bottom: 15px;
    outline: 1px solid transparent;
}
.form__input_textarea.error {
    outline: 1px solid #AE2220;
}
.form__input_cb {
    display: none;
}
.form__input[data-mask="date"] {
    width: 135px;
    margin-right: 24px;;
}
.form__input[data-mask="time"] {
    width: 91px;
}
.form__label_cb {
    position: relative;
    user-select: none;
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin-top: 3px;
    margin-left: 3px;
    text-transform: initial;
}
.form__input_cb:checked + .form__label_cb::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('/files/public/icons/icon-mark.svg');
    position: absolute;
    left: 0;
}
.form__input_cb.error + .form__label_cb {
    color: #AE2220;
}
.form__label_cb::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #AE2220;
    border-radius: 2px;
    margin-right: 11px;
    outline: 1px solid transparent;
}
.form__btn-submit {
    align-self: flex-start;
    margin-top: 22px;
}


