/* IMENKV Credit & Installments */
.imenkv-product-credit-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.imenkv-product-credit-actions .button{margin:0}.imenkv-credit-form-wrap{background:#fff;border:1px solid #e6e6e6;border-radius:16px;padding:18px}.imenkv-credit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.imenkv-credit-form label{display:block;font-weight:600}.imenkv-credit-form input[type=text],.imenkv-credit-form input[type=tel],.imenkv-credit-form input[type=number],.imenkv-credit-form input[type=file],.imenkv-credit-form select,.imenkv-credit-form textarea{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid #d9d9d9;border-radius:8px;background:#fff}.imenkv-credit-form fieldset{border:1px solid #eee;border-radius:10px;padding:12px;margin:12px 0}.imenkv-check{display:inline-block!important;margin:5px 15px 5px 0}.imenkv-credit-calculation,.imenkv-credit-notice{padding:12px;border-radius:10px;background:#f7f7f5;margin:12px 0}.imenkv-credit-notice.is-error{background:#fff0f0;color:#a40000}.imenkv-credit-notice.is-success{background:#edfff2;color:#146b2f}.imenkv-otp-box{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.imenkv-otp-box input{max-width:150px;padding:9px}.imenkv-otp-message{font-size:13px}.imenkv-otp-message.is-error{color:#a40000}.imenkv-credit-modal{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.6);padding:24px;overflow:auto}.imenkv-credit-modal-inner{position:relative;max-width:780px;margin:3vh auto;background:#fff;border-radius:18px;padding:26px}.imenkv-credit-close{position:absolute;left:14px;top:10px;border:0;background:transparent;font-size:30px;cursor:pointer}.imenkv-mobile-bar{display:none}.imenkv-credit-wallet{padding:12px 16px;margin:12px 0;border:1px solid #dfdfdf;border-radius:10px;background:#fff9e5}.imenkv-otp-login{margin:0 0 18px;padding:16px;border:1px solid #ead9ad;border-radius:14px;background:#fffaf0}.imenkv-otp-login h3{margin:0 0 6px}.imenkv-otp-login p{margin:0 0 12px;color:#666}.imenkv-otp-login-row{display:flex;gap:8px;flex-wrap:wrap}.imenkv-otp-login input{flex:1;min-width:170px;padding:10px;border:1px solid #ddd;border-radius:8px}.imenkv-login-message{display:block;margin-top:8px}.imenkv-login-message.is-error{color:#a40000}@media(max-width:700px){.imenkv-credit-grid{grid-template-columns:1fr}.imenkv-credit-modal{padding:10px}.imenkv-credit-modal-inner{padding:18px 12px}.imenkv-mobile-bar{display:flex;position:fixed;z-index:9990;bottom:0;right:0;left:0;background:#111;color:#fff;box-shadow:0 -4px 15px rgba(0,0,0,.2);padding:8px 6px;gap:4px}.imenkv-mobile-bar a,.imenkv-mobile-bar button{flex:1;color:#fff;background:transparent;border:0;text-align:center;font-size:12px;padding:8px 3px;text-decoration:none}.imenkv-mobile-bar button{background:#d59b2b;border-radius:8px;color:#111;font-weight:700}body{padding-bottom:54px}}

/* Credit request cards, mobile-first and cache/plugin friendly */
.imenkv-credit-form-wrap,
.imenkv-credit-form-wrap * { box-sizing: border-box; }
.imenkv-credit-form-wrap { max-width: 900px; margin-inline: auto; }
.imenkv-credit-form { display: block; }
.imenkv-credit-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; inset-inline-start: -9999px !important; }
.imenkv-credit-progress { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 0 0 16px; padding: 8px; border: 1px solid #ead9ad; border-radius: 16px; background: linear-gradient(135deg,#fffaf0,#fff); }
.imenkv-credit-progress span { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 8px 9px; border-radius: 11px; color: #6c6252; font-size: 12px; font-weight: 700; line-height: 1.45; }
.imenkv-credit-progress b { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #f0c66d; color: #2b2110; font-size: 13px; }
.imenkv-credit-step-card { margin: 12px 0; padding: 16px; border: 1px solid #ece7dc; border-radius: 16px; background: #fff; box-shadow: 0 6px 20px rgba(38,31,18,.05); }
.imenkv-credit-step-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 13px; padding-bottom: 9px; border-bottom: 1px solid #f0ece4; color: #241d12; font-size: 16px; }
.imenkv-credit-step-card h3::before { content: ""; width: 5px; height: 22px; border-radius: 5px; background: #d59b2b; }
.imenkv-credit-step-card p { margin: 0 0 10px; }
.imenkv-credit-step-card input,
.imenkv-credit-step-card select,
.imenkv-credit-step-card textarea { max-width: 100%; font-family: inherit; }
.imenkv-credit-step-card input:focus,
.imenkv-credit-step-card select:focus,
.imenkv-credit-step-card textarea:focus { outline: 2px solid rgba(213,155,43,.28); outline-offset: 1px; border-color: #d59b2b; }
.imenkv-credit-step-2 .imenkv-credit-calculation { margin-top: 0; border: 1px solid #f0d48e; background: #fffaf0; }
.imenkv-credit-step-2 fieldset { margin-bottom: 0; background: #fff; }
.imenkv-credit-step-3 input[type=file] { padding: 8px; font-size: 12px; }
.imenkv-credit-step-3 small { display: block; margin-top: 4px; color: #777; font-size: 11px; }
.imenkv-credit-privacy { padding: 10px 12px; border-radius: 10px; background: #f3faf5; color: #2c6840; font-size: 12px; line-height: 1.8; }
.imenkv-credit-submit { width: 100%; min-height: 48px; border-radius: 11px !important; font-size: 15px !important; }
.imenkv-credit-modal-inner { width: min(900px,100%); max-height: 94vh; overflow-y: auto; }
.imenkv-credit-modal-open { overscroll-behavior: none; }
@media (max-width: 700px) {
  .imenkv-credit-modal { padding: 8px; }
  .imenkv-credit-modal-inner { margin: 1vh auto; padding: 16px 10px; border-radius: 16px; }
  .imenkv-credit-modal-inner > h2 { padding-inline: 8px; font-size: 20px; }
  .imenkv-credit-progress { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 6px; }
  .imenkv-credit-progress span { font-size: 11px; padding: 7px; }
  .imenkv-credit-progress b { width: 23px; height: 23px; font-size: 12px; }
  .imenkv-credit-step-card { padding: 12px 10px; border-radius: 13px; }
  .imenkv-credit-step-card h3 { font-size: 14px; }
  .imenkv-credit-grid { grid-template-columns: 1fr; gap: 8px; }
  .imenkv-otp-box { align-items: stretch; }
  .imenkv-otp-box button,
  .imenkv-otp-box input { flex: 1 1 100%; max-width: none; min-height: 42px; }
}
@media (max-width: 380px) {
  .imenkv-credit-progress span { font-size: 10px; }
  .imenkv-credit-step-card { padding-inline: 8px; }
}

/* Attractive installment choices and optional card accordions */
.imenkv-product-credit-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.imenkv-product-credit-actions .button { min-height: 50px; margin: 0; border-radius: 12px; font-weight: 800; }
.imenkv-product-credit-actions .imenkv-credit-open { background: #fff5dc; border: 1px solid #e1b85b; color: #6e4500; }
.imenkv-product-credit-actions .imenkv-installment-cart { background: #171b22; border: 1px solid #171b22; color: #fff; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.imenkv-product-credit-actions .button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20,24,30,.12); }
.imenkv-credit-step-card h3 { position: relative; }
.imenkv-credit-step-card h3 .imenkv-credit-step-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: right; cursor: pointer; }
.imenkv-credit-step-card h3 .imenkv-credit-step-toggle::after { content: "⌃"; flex: none; color: #a87516; font-size: 18px; transition: transform .2s ease; }
.imenkv-credit-step-card.is-collapsed h3 .imenkv-credit-step-toggle::after { transform: rotate(180deg); }
.imenkv-credit-step-card.is-collapsed > :not(h3) { display: none !important; }
.imenkv-month-field { margin: 0 0 10px; }
.imenkv-month-label { display: block; margin-bottom: 8px; font-weight: 800; }
.imenkv-month-label small { color: #777; font-size: 11px; font-weight: 600; }
.imenkv-month-picker { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.imenkv-month-option { min-height: 42px; border: 1px solid #e1e1e1; border-radius: 10px; background: #fff; color: #5f6670; font: 700 12px var(--font, Tahoma); cursor: pointer; transition: .2s ease; }
.imenkv-month-option:hover { border-color: #d59b2b; color: #704a08; transform: translateY(-1px); }
.imenkv-month-option.is-active { border-color: #d59b2b; background: linear-gradient(135deg,#fff4d3,#ffe7a6); color: #533600; box-shadow: inset 0 0 0 1px rgba(213,155,43,.25); }
.imenkv-month-select { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 700px) {
  .imenkv-product-credit-actions { grid-template-columns: 1fr; }
  .imenkv-month-picker { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 380px) { .imenkv-month-picker { grid-template-columns: repeat(2,minmax(0,1fr)); } }
