
.hn-installment-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 76px;
    margin: 18px 0 0;
    padding: 12px 18px;
    border-radius: 6px;
    background: #000;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    transition: opacity .2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.hn-installment-button:hover { opacity: .9; }
.hn-installment-button strong { font-size: 18px; line-height: 1.2; font-weight: 700; letter-spacing: 0; }
.hn-installment-button span { margin-top: 2px; font-size: 14px; font-weight: 400; line-height: 1.35; }

.hn-installment-app,
.hn-installment-app * { box-sizing: border-box; }
.hn-installment-app {
    --hn-red: #ef2028;
    --hn-orange: #ff7b2f;
    --hn-border: #e2e2e2;
    --hn-soft: #f3f3f3;
    max-width: 1400px;
    margin: 28px auto;
    color: #242424;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.45;
}
.hn-installment-app img { display: block; max-width: 100%; }

.hn-product-summary-card {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}
.hn-product-image-wrap,
.hn-product-summary-content,
.hn-installment-controls,
.hn-installment-results {
    background: var(--hn-soft);
    border: 1px solid #e7e7e7;
    border-radius: 24px;
    box-shadow: none;
}
.hn-product-image-wrap {
    min-height: 330px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hn-product-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.hn-product-summary-content { padding: 28px 30px; }
.hn-product-summary-content h1 {
    margin: 0 0 12px;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
    color: #1f1f1f;
    letter-spacing: 0;
}
.hn-product-summary-content h1 span { color: var(--hn-red); }
.hn-product-summary-content p {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: #252525;
}
.hn-product-summary-content p strong {
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.hn-installment-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 18px;
    padding: 22px 24px;
}
.hn-installment-controls label { display: block; margin: 0; }
.hn-installment-controls label > span {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #262626;
}
.hn-installment-controls input,
.hn-installment-controls select {
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #313131;
    font-family: inherit;
}
.hn-installment-controls input::placeholder {
    color: #9f9f9f;
    font-weight: 500;
}
.hn-installment-controls input:focus,
.hn-installment-controls select:focus {
    border-color: var(--hn-orange);
    box-shadow: 0 0 0 1px var(--hn-orange);
    outline: none;
}

.hn-installment-results { padding: 24px; }
.hn-loan-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 38px;
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.35;
}
.hn-loan-summary span { color: #2a2a2a; font-weight: 500; }
.hn-loan-summary strong {
    color: #1f1f1f;
    font-weight: 700;
    letter-spacing: 0;
}
.hn-loan-summary span:last-child strong,
.hn-loan-summary span:last-child b { color: var(--hn-red); }
.hn-loan-summary b {
    font-weight: 500;
    color: #2d2d2d;
}
.hn-loan-summary em {
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
}

.hn-provider-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.hn-provider-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--hn-border);
    border-radius: 16px;
    background: #fff;
}
.hn-provider-card.is-best {
    border: 3px solid var(--hn-red);
    background: #fffdf2;
}
.hn-provider-head {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid #ececec;
    background: #fafafa;
}
.hn-provider-head img { max-height: 42px; max-width: 210px; object-fit: contain; }
.hn-provider-text-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
}
.hn-best-badge {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--hn-red);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}
.hn-monthly {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 18px 0 14px;
    color: var(--hn-red);
}
.hn-monthly strong {
    font-size: 29px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hn-monthly span {
    color: #5f5f5f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}
.hn-provider-card dl { margin: 0; }
.hn-provider-card dl > div {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 11px 0;
    border-bottom: 1px dashed #e7e7e7;
    font-size: 14px;
    line-height: 1.45;
}
.hn-provider-card dl > div:last-child { border-bottom: 0; }
.hn-provider-card dt {
    font-weight: 500;
    color: #2f2f2f;
}
.hn-provider-card dd {
    margin: 0;
    font-weight: 500;
    color: #2f2f2f;
}
.hn-provider-card .hn-red dt,
.hn-provider-card .hn-red dd {
    color: var(--hn-red);
    font-weight: 700;
}
.hn-installment-note {
    margin: 18px 0 0;
    color: var(--hn-red);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}
.hn-installment-empty {
    padding: 24px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
}

body.page .hn-installment-app { padding-left: 15px; padding-right: 15px; }

@media (max-width: 980px) {
    .hn-product-summary-card { grid-template-columns: 260px minmax(0, 1fr); }
    .hn-product-image-wrap { min-height: 260px; }
    .hn-provider-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .hn-installment-app { margin-top: 15px; font-size: 14px; }
    .hn-product-summary-card { grid-template-columns: 1fr; }
    .hn-product-image-wrap { min-height: 280px; }
    .hn-product-summary-content { padding: 20px; }
    .hn-product-summary-content h1 { font-size: 20px; }
    .hn-product-summary-content p { font-size: 16px; }
    .hn-installment-controls { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
    .hn-installment-results { padding: 18px; }
    .hn-loan-summary { display: grid; gap: 8px; font-size: 18px; }
    .hn-monthly strong { font-size: 25px; }
    .hn-installment-note { font-size: 16px; }
}
