* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Quicksand', sans-serif; background: #fef9f4; color: #3e2e2a;
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px;
}
.checkout-container {
    max-width: 700px; width: 100%; background: #fff; border-radius: 60px; padding: 50px 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.06); border: 1px solid #f0ddd5; position: relative;
}
.checkout-header { text-align: center; margin-bottom: 30px; }
.checkout-header .logo { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: #b45f4d; }
.checkout-header .logo i { color: #d48d7a; margin-right: 8px; }
.checkout-header h1 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: #4d3630; margin-top: 10px; }
.checkout-header h1 span { color: #b45f4d; }
.checkout-price { text-align: center; font-size: 3.2rem; font-weight: 700; color: #b45f4d; margin: 20px 0; }
.checkout-price small { font-size: 1.4rem; font-weight: 400; color: #7a5e55; text-decoration: line-through; margin-left: 14px; }
.checkout-bonus { background: #fdf3ee; border-radius: 40px; padding: 25px 30px; margin: 25px 0; }
.checkout-bonus h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #4d3630; margin-bottom: 12px; }
.checkout-bonus ul { list-style: none; }
.checkout-bonus ul li { margin-bottom: 10px; font-size: 1rem; color: #4d3630; }
.checkout-bonus ul li i { color: #d48d7a; margin-right: 12px; width: 20px; }
.checkout-bonus .highlight { background: #fff; border-radius: 30px; padding: 14px 20px; margin-top: 16px; border: 1px solid #d48d7a; text-align: center; font-weight: 600; color: #b45f4d; }
.checkout-bonus .highlight i { margin-right: 10px; font-size: 1.4rem; }
.btn-checkout {
    display: block; width: 100%; background: #d48d7a; color: #fff; padding: 18px; border: none;
    border-radius: 60px; font-size: 1.3rem; font-weight: 700; cursor: pointer; transition: 0.25s;
    box-shadow: 0 8px 24px rgba(212, 141, 122, 0.25); text-align: center; text-decoration: none;
}
.btn-checkout:hover { background: #b45f4d; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(180, 95, 77, 0.35); }
.checkout-footer { text-align: center; margin-top: 25px; font-size: 0.9rem; color: #7a5e55; }
.checkout-footer a { color: #b45f4d; text-decoration: underline; }
.checkout-guarantee { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; color: #5f4640; font-size: 0.95rem; }
.checkout-guarantee i { color: #d48d7a; font-size: 1.6rem; }

.lang-dropdown { position: absolute; top: 24px; right: 30px; display: inline-block; }
.lang-dropdown-btn {
    background: none; border: 2px solid #d48d7a; border-radius: 30px; padding: 6px 16px 6px 12px;
    font-size: 0.95rem; font-weight: 600; color: #4d3630; cursor: pointer; display: flex;
    align-items: center; gap: 6px; transition: 0.2s; font-family: 'Quicksand', sans-serif;
}
.lang-dropdown-btn:hover { background: rgba(212, 141, 122, 0.08); }
.lang-dropdown-menu {
    position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border-radius: 20px;
    padding: 8px 0; min-width: 100px; box-shadow: 0 12px 40px rgba(0,0,0,0.08); border: 1px solid #f0ddd5;
    display: none; z-index: 999; list-style: none;
}
.lang-dropdown-menu.open { display: block; }
.lang-dropdown-menu li {
    padding: 10px 20px; cursor: pointer; display: flex; align-items: center; gap: 10px;
    font-weight: 600; color: #4d3630; transition: 0.15s; font-size: 0.95rem;
}
.lang-dropdown-menu li:hover { background: #fdf3ee; }
.lang-dropdown-menu li .flag { font-size: 1.2rem; }

@media (max-width: 600px) {
    .checkout-container { padding: 30px 20px; }
    .checkout-header h1 { font-size: 1.6rem; }
    .checkout-price { font-size: 2.4rem; }
    .lang-dropdown { top: 16px; right: 16px; }
    .lang-dropdown-btn { font-size: 0.8rem; padding: 4px 12px 4px 8px; }
}

/* ===== МОДАЛЬНОЕ ОКНО ОПЛАТЫ LAVA.TOP ===== */
.lava-modal-overlay {
    position: fixed; inset: 0; background: rgba(62, 46, 42, 0.55);
    display: none; align-items: center; justify-content: center;
    z-index: 10000; padding: 20px; backdrop-filter: blur(3px);
}
.lava-modal-overlay.open { display: flex; }
.lava-modal-box {
    background: #fff; border-radius: 40px; padding: 40px 32px; max-width: 420px; width: 100%;
    text-align: center; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}
.lava-modal-box h3 { font-family: 'Playfair Display', serif; color: #4d3630; font-size: 1.5rem; margin-bottom: 8px; }
.lava-modal-box p { color: #7a5e55; font-size: 0.95rem; margin-bottom: 18px; }
.lava-modal-box input {
    width: 100%; padding: 14px 18px; border-radius: 40px; border: 2px solid #f0ddd5;
    font-size: 1rem; font-family: 'Quicksand', sans-serif; background: #fefaf7; outline: none; transition: 0.2s;
}
.lava-modal-box input:focus { border-color: #d48d7a; background: #fff; }
.lava-modal-box #lavaPayBtn {
    margin-top: 16px; width: 100%; background: #d48d7a; color: #fff; border: none; padding: 16px;
    border-radius: 60px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: 0.25s;
    font-family: 'Quicksand', sans-serif;
}
.lava-modal-box #lavaPayBtn:hover { background: #b45f4d; }
.lava-modal-box #lavaPayBtn:disabled { opacity: 0.6; cursor: not-allowed; }
.lava-modal-close {
    position: absolute; top: 16px; right: 22px; background: none; border: none;
    font-size: 1.8rem; color: #b45f4d; cursor: pointer; line-height: 1;
}
.lava-modal-error { color: #c0392b; font-size: 0.9rem; margin-top: 12px; min-height: 18px; }