
    html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    background-color: #f9f9f9;
    box-sizing: border-box;
}
  /* === ОБЁРТКА ДЛЯ ЛОГОТИПА И ФОРМЫ === */
    .wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        max-width: 300px;
    }

    .logo {
        max-width: 180px;
        height: auto;
        display: block;
    }
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 300px;
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0px 4px 20px hsla(0, 0%, 0%, 0.05);
}

    label {
        font-size: 12px;
        line-height: 18px;
        color: #808185;
    }

    .required-label::after {
        content: " *";
        color: #C50000;
    }

    input, select {
        box-sizing: border-box;
        border: 1px solid #D5D5D6;
        border-radius: 8px;
        padding: 10px;
        width: 100%;
        font-family: 'Roboto', sans-serif;
        font-size: 14px;
    }

    input:focus, select:focus {
        border: 1px solid hsla(0, 100%, 39%, 1);
        outline: none;
    }

    #orderid {
        display: none;
    }

    button {
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 12px 20px;
        background: #C50000;
        border-radius: 8px;
        font-weight: 500;
        font-size: 16px;
        line-height: 26px;
        color: #FFFFFF;
        cursor: pointer;
        outline: none;
        margin-top: 8px;
        transition: background 0.2s ease;
    }

    button:hover {
        background: hsl(0 100% 45% / 1);
    }

    button:focus {
        background: hsl(0 100% 25% / 1);
    }

    button:active {
        background: hsl(0 100% 25% / 1);
    }

    .field {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    /* === КАСТОМНЫЙ ВЫПАДАЮЩИЙ СПИСОК === */
    .custom-select {
        position: relative;
        width: 100%;
    }

    .custom-select select {
        display: none;
    }

    .select-selected {
        border-radius: 8px;
        border: 1px solid #D5D5D6;
        background-color: #ffffff;
        cursor: pointer;
        padding: 10px;
        font-size: 14px;
        color: #333;
    }

    .select-selected:after {
        position: absolute;
        content: "\2039";
        top: 12px;
        right: 10px;
        width: 20px;       /* < исправлено */
        height: 20px;
        text-align: center;
        transform: rotate(-90deg);
        color: #808185;
        font-size: 18px;   /* < исправлено */
    }

    .select-selected.select-arrow-active:after {
        transform: rotate(90deg);
        top: 10px;
    }

    .select-items {
        position: absolute;
        background-color: white;
        box-shadow: 0px 4px 20px 0px hsla(0, 0%, 0%, 0.08);
        border-radius: 8px;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 99;
        padding: 8px 0;
        margin-top: 4px;
    }

    .select-hide {
        display: none;
    }

    .select-items div, .select-selected {
        cursor: pointer;
    }

    .select-items div {
        padding: 10px;
        font-size: 14px;
        color: #333;
    }

    .select-items div:hover, .same-as-selected {
        position: relative;
        background: hsla(0, 0%, 96%, 1);
    }

    .same-as-selected {
        background: hsla(180, 2%, 92%, 1);
        font-weight: 500;
    }

    .same-as-selected::after {
        position: absolute;
        content: '';
        transform: rotate(45deg);
        border: solid #C50000;
        border-width: 0 2px 2px 0;
        top: 12px;
        right: 16px;
        width: 5px;
        height: 10px;
    }

    /* === КАСТОМНЫЙ ЧЕКБОКС === */
    .checkbox-container {
        display: flex;
        position: relative;
        padding-left: 24px;
        margin-bottom: 12px;
        cursor: pointer;
        font-size: 11px;
        line-height: 18px;
        color: #808185;
        user-select: none;
    }

    .checkbox-container a {
        color: hsla(0, 100%, 39%, 1);
        text-decoration: none;
    }

    .checkbox-container a:hover {
        text-decoration: underline;
    }

    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    .checkmark {
        position: absolute;
        top: 3px;
        left: 0;
        background-color: white;
        border: 2px solid hsla(0, 0%, 79%, 1);
        width: 12px;
        height: 12px;
        border-radius: 4px;
        flex-shrink: 0;
    }

    .checkbox-container:hover input ~ .checkmark {
        background-color: white;
        border-color: hsla(0, 0%, 60%, 1);
    }

    .checkbox-container input:checked ~ .checkmark {
        background-color: hsla(0, 100%, 39%, 1);
        border-color: hsla(0, 100%, 39%, 1);
    }

    .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    .checkbox-container input:checked ~ .checkmark:after {
        display: block;
    }

    .checkbox-container .checkmark:after {
        left: 3px;
        top: 0px;
        width: 4px;
        height: 8px;
        border: solid white;
        border-width: 0 1.5px 1.5px 0;
        transform: rotate(45deg);
    }

    .checkbox-text {
        display: block;
    }

    /* === СООБЩЕНИЯ ОБ ОШИБКАХ === */
    .error-message {
        color: #d32f2f;
        font-size: 11px;
        line-height: 18px;
        margin-top: 4px;
        display: none;
    }
    .input-error {
        border-color: #d32f2f !important;
        outline-color: #d32f2f !important;
    }
    .input-error:focus {
        border-color: #d32f2f !important;
    }

select{display:block!important} .error-message[hidden]{display:none} .checkout-error{color:#b00020;font-size:13px}button:disabled{opacity:.55;cursor:wait}.wrapper{margin:30px 0} .field .hint{font-size:11px;color:#777}

.saved-contact{font-size:15px;padding:10px 0;color:#333}#personal-greeting{font-size:19px;font-weight:500;margin:0 0 4px}[hidden]{display:none!important}
