/* --- Ð—ÐÐ“ÐžÐ›ÐžÐ’ÐšÐ˜, ÐŸÐžÐ›Ð¯ Ð’Ð’ÐžÐ”Ð Ð˜ ÐšÐÐžÐŸÐšÐ˜ --- */
.woocommerce-checkout h3 {
    color: var(--text-light);
    border-bottom: 0px solid var(--border-color);
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    display: none;
}
.woocommerce-checkout .form-row label {
    margin-bottom: 1em;
    color: var(--text-light);
    
}
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    background-color: #1c1c1c;
    color: var(--text-light);
    border: 0px solid var(--border-color);
    border-radius: var(--radius);
    padding: 12px 15px;
    transition: all 0.3s ease;
    box-shadow: none;
    width: 100%;
    font-family: 'Roboto', sans-serif; /* ÐšÑ€Ð°ÑÐ¸Ð²Ñ‹Ð¹ ÑˆÑ€Ð¸Ñ„Ñ‚ */
    font-size: 1.1em; /* Ð£Ð²ÐµÐ»Ð¸Ñ‡ÐµÐ½Ð½Ñ‹Ð¹ Ñ€Ð°Ð·Ð¼ÐµÑ€ ÑˆÑ€Ð¸Ñ„Ñ‚Ð° */
    font-weight: 400; /* Ð¡Ñ€ÐµÐ´Ð½Ð¸Ð¹ Ð²ÐµÑ */
    letter-spacing: 0.5px; /* Ð›Ñ‘Ð³ÐºÐ°Ñ Ñ€Ð°Ð·Ñ€ÑÐ´ÐºÐ° */
    border-top: 1px solid #5c5c5c42;   
    box-shadow: 0 4px 15px rgb(0 0 0);
}
.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
    outline: none;
}
#billing_first_name_field .input-text,
#billing_last_name_field .input-text {
    font-family: 'Roboto', sans-serif; /* ÐšÑ€Ð°ÑÐ¸Ð²Ñ‹Ð¹ ÑˆÑ€Ð¸Ñ„Ñ‚ Ð´Ð»Ñ Ð¸Ð¼ÐµÐ½Ð¸ Ð¸ Ñ„Ð°Ð¼Ð¸Ð»Ð¸Ð¸ */
    font-size: 1.2em; /* Ð§ÑƒÑ‚ÑŒ Ð±Ð¾Ð»ÑŒÑˆÐµ */
    font-weight: 500; /* Ð§ÑƒÑ‚ÑŒ Ð¶Ð¸Ñ€Ð½ÐµÐµ */
    letter-spacing: 0.5px; /* Ð Ð°Ð·Ñ€ÑÐ´ÐºÐ° */
    color: var(--text-light);
    border-top: 1px solid #5c5c5c42;   
    box-shadow: 0 4px 15px rgb(0 0 0);
}
.woocommerce-billing-fields .form-row label::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    width: 20px;
    margin-right: 8px;
    text-align: center;
    color: var(--accent-gold);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    
}
.woocommerce-billing-fields .form-row:focus-within label::before {
    opacity: 1;
}
#billing_first_name_field label::before {
    content: "\f007";
}
#billing_last_name_field label::before {
    content: "\f007";
}
#billing_company_field label::before {
    content: "\f1ad";
}
#billing_country_field label::before {
    content: "\f57d";
}
#billing_address_1_field label::before {
    content: "\f6f1";
}
#billing_city_field label::before {
    content: "\f64f";
}
#billing_state_field label::before {
    content: "\f7a1";
}
#billing_postcode_field label::before {
    content: "\f1d9";
}
#billing_phone_field label::before {
    content: "\f095";
}
#billing_email_field label::before {
    content: "\f0e0";
}
.woocommerce-additional-fields label[for="order_comments"]::before {
    content: "\f2c6";
    font-family: "Font Awesome 5 Brands";
    margin-right: 8px;
    color: #05acff;
    font-size: 1.2em;
    display: inline-block;
    vertical-align: middle;
}
.phone-field-with-russia-flag input#billing_phone {
    padding-left: 55px !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6"><path fill="%23fff" d="M0 0h9v3H0z"/><path fill="%23d52b1e" d="M0 3h9v3H0z"/><path fill="%230039a6" d="M0 2h9v2H0z"/></svg>');
    background-size: 28px 18px;
    background-repeat: no-repeat;
    background-position: left 15px center;
}
.woocommerce-checkout .button {
    border-radius: var(--radius);
    padding: 14px 25px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    
}
.woocommerce-checkout .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.woocommerce-checkout .button.alt,
.woocommerce-checkout .button.next-step {
    background-color: #FFEB3B;
    color: #000 !important;
    
}
.woocommerce-checkout .button.alt:hover,
.woocommerce-checkout .button.next-step:hover {
    background-color: #FFEB3B !important;
}
.woocommerce-checkout .button.prev-step {
    background-color: #f8252500 !important;
    color: #FFEB3B;
    border: 1px solid #FFEB3B; !important;
    box-shadow: none !important;
}
.woocommerce-checkout .button.prev-step:hover {
    background-color: #FFEB3B !important;
    color: #000 !important;
    border-color: var(--accent-gold) !important;
}
.woocommerce-checkout .button:disabled,
.woocommerce-checkout .button.disabled {
    background-color: var(--text-muted);
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.woocommerce-billing-fields #billing_country_field {
    display: none;
}

/* ÐœÐµÐ´Ð¸Ð°-Ð·Ð°Ð¿Ñ€Ð¾ÑÑ‹ Ð´Ð»Ñ Ð¿Ð»Ð°Ð½ÑˆÐµÑ‚Ð¾Ð² (max-width: 1024px) */
@media (max-width: 1024px) {
    .woocommerce-checkout .form-row .input-text,
    .woocommerce-checkout select,
    .woocommerce-checkout textarea {
        font-size: 1em; /* Ð£Ð¼ÐµÐ½ÑŒÑˆÐµÐ½Ð½Ñ‹Ð¹ ÑˆÑ€Ð¸Ñ„Ñ‚ */
        padding: 10px 12px;
    }
    #billing_first_name_field .input-text,
    #billing_last_name_field .input-text {
        font-size: 1.1em; /* Ð£Ð¼ÐµÐ½ÑŒÑˆÐµÐ½Ð½Ñ‹Ð¹ ÑˆÑ€Ð¸Ñ„Ñ‚ Ð´Ð»Ñ Ð¸Ð¼ÐµÐ½Ð¸ Ð¸ Ñ„Ð°Ð¼Ð¸Ð»Ð¸Ð¸ */
    }
    .woocommerce-checkout .form-row label {
        font-size: 0.95em;
    }
    .woocommerce-billing-fields .form-row label::before {
        width: 18px;
        font-size: 1.1em;
    }
    .phone-field-with-russia-flag input#billing_phone {
        padding-left: 50px !important;
        background-size: 26px 16px;
        background-position: left 12px center;
    }
}

/* ÐœÐµÐ´Ð¸Ð°-Ð·Ð°Ð¿Ñ€Ð¾ÑÑ‹ Ð´Ð»Ñ Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ñ‹Ñ… (max-width: 768px) */
@media (max-width: 768px) {
    .woocommerce-checkout .form-row .input-text,
    .woocommerce-checkout select,
    .woocommerce-checkout textarea {
        font-size: 0.9em;
        padding: 8px 10px;
    }
    #billing_first_name_field .input-text,
    #billing_last_name_field .input-text {
        font-size: 1em;
    }
    .woocommerce-checkout .form-row label {
        font-size: 0.9em;
    }
    .woocommerce-billing-fields .form-row label::before {
        width: 16px;
        font-size: 1em;
    }
    .phone-field-with-russia-flag input#billing_phone {
        padding-left: 45px !important;
        background-size: 24px 14px;
        background-position: left 10px center;
    }
}

/* ÐžÑ‚ÐºÐ»ÑŽÑ‡ÐµÐ½Ð¸Ðµ ÑÑ‚Ð¸Ð»ÐµÐ¹ Ð°Ð²Ñ‚Ð¾Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ Ð±Ñ€Ð°ÑƒÐ·ÐµÑ€Ð° Ñ ÑÐ¾Ñ…Ñ€Ð°Ð½ÐµÐ½Ð¸ÐµÐ¼ Ñ„Ð»Ð°Ð³Ð° */
.woocommerce-checkout .form-row .input-text:-webkit-autofill,
.woocommerce-checkout .form-row .input-text:-webkit-autofill:hover, 
.woocommerce-checkout .form-row .input-text:-webkit-autofill:focus, 
.woocommerce-checkout .form-row .input-text:-webkit-autofill:active {
    background-color: #1c1c1c !important; /* Ð¤Ð¾Ð½ ÐºÐ°Ðº Ð² Ð¾Ð±Ñ‹Ñ‡Ð½Ñ‹Ñ… Ð¿Ð¾Ð»ÑÑ… */
    color: var(--text-light) !important; /* Ð¦Ð²ÐµÑ‚ Ñ‚ÐµÐºÑÑ‚Ð° ÐºÐ°Ðº Ð² Ð¾Ð±Ñ‹Ñ‡Ð½Ñ‹Ñ… Ð¿Ð¾Ð»ÑÑ… */
    border: 0px solid var(--border-color) !important; /* Ð Ð°Ð¼ÐºÐ° ÐºÐ°Ðº Ð² Ð¾Ð±Ñ‹Ñ‡Ð½Ñ‹Ñ… Ð¿Ð¾Ð»ÑÑ… */
    -webkit-text-fill-color: var(--text-light) !important; /* Ð¦Ð²ÐµÑ‚ Ñ‚ÐµÐºÑÑ‚Ð° Ð´Ð»Ñ WebKit */
    -webkit-box-shadow: 0 0 0px 1000px #1c1c1c inset !important; /* Ð¥Ð°Ðº Ð´Ð»Ñ Ñ„Ð¾Ð½Ð° */
    transition: background-color 5000s ease-in-out 0s !important; /* Ð—Ð°Ð´ÐµÑ€Ð¶ÐºÐ° Ð´Ð»Ñ Ð¿Ñ€ÐµÐ´Ð¾Ñ‚Ð²Ñ€Ð°Ñ‰ÐµÐ½Ð¸Ñ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ */
}

/* Ð”Ð»Ñ Firefox */
.woocommerce-checkout .form-row .input-text:-moz-autofill,
.woocommerce-checkout .form-row .input-text:-moz-autofill:hover, 
.woocommerce-checkout .form-row .input-text:-moz-autofill:focus, 
.woocommerce-checkout .form-row .input-text:-moz-autofill:active {
    background-color: #1c1c1c !important;
    color: var(--text-light) !important;
    border: 0px solid var(--border-color) !important;
}