.wd-billing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(12px, 2.4vw, 26px);
    margin: 24px 0;
    color: #223128;
}
.wd-billing-card, .wd-billing-note {
    border: 1px solid #d4e1ca;
    border-radius: 15px;
    background: #f6f8f2;
    padding: clamp(14px, 2.2vw, 28px);
    overflow-wrap: anywhere;
}
.wd-billing-card { display: flex; flex-direction: column; }
.wd-billing-card:nth-child(2) { border-color: #759682; background: #edf4e8; }
.wd-billing-card h3 { font-size: clamp(23px, 2.3vw, 34px); margin: 0 0 10px; }
.wd-billing-card p { margin: 0 0 15px; line-height: 1.55; }
.wd-billing-price { font-size: clamp(22px, 2.5vw, 35px); font-weight: 700; color: #225441; }
.wd-billing-price > span:last-child { font-size: 14px; font-weight: 500; white-space: nowrap; }
.wd-billing-card ul { padding-inline-start: 20px; margin: 5px 0 24px; flex: 1; }
.wd-billing-card li { line-height: 1.45; margin: 0 0 6px; }
.wd-billing-features { margin: 0 0 18px; }
.wd-billing-features summary { cursor: pointer; color: #225441; font-weight: 650; }
.wd-billing-features ul { margin: 8px 0 0; }
.wd-billing-comparison { margin: 0 0 20px; }
.wd-billing-comparison summary {
    padding-block: 12px;
    min-height: 44px;
    color: #225441;
    font-weight: 650;
    cursor: pointer;
}
.wd-billing-comparison summary:focus-visible { outline: 2px solid #256552; outline-offset: 3px; }
.wd-billing-comparison table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid #d4e1ca;
    background: #fff;
    overflow-wrap: anywhere;
    font-size: clamp(.8rem, 1.9vw, 1rem);
    margin-top: 8px;
}
.wd-billing-comparison caption { text-align: start; padding-bottom: 8px; color: #526651; }
.wd-billing-comparison :is(th, td) { padding: .64em .42em; border-bottom: 1px solid #d4e1ca; text-align: center; }
.wd-billing-comparison th:first-child { width: 43%; text-align: start; }
.wd-billing-comparison :is(thead, tr:nth-child(even)) { background: #edf4e8; }
.wd-billing-included { color: #225441; font-weight: 750; }
.wd-billing-button { display: inline-block; width: 100%; border: 0; border-radius: 8px; background: #225441; color: #fff; font: inherit; font-weight: 650; min-height: 46px; padding: 12px 15px; cursor: pointer; }
.wd-billing-button:hover { background: #173d2e; }
.wd-billing-button:focus-visible { outline: 3px solid #256552; outline-offset: 3px; }
.wd-billing-note { margin: 0 0 20px; }
.wd-billing-note p:last-child { margin-bottom: 0; }
.wd-declaration { display: grid; gap: 16px; max-width: 680px; margin-inline: auto; }
.wd-declaration label { display: grid; gap: 6px; font-weight: 650; }
.wd-declaration input, .wd-declaration select, .wd-declaration textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border: 1px solid #759682;
    border-radius: 8px;
    background: #fff;
    color: #223128;
    font: inherit;
    font-weight: 400;
    padding: 10px;
}
.wd-declaration p { margin: 0; }
.wd-declaration-error { color: #982c24; }
.wd-declaration-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-block: 12px; }
.wd-declaration-links a, .wd-declaration a { color: #225441; font-weight: 650; text-decoration: underline; }
.woocommerce-cart .wd-content, .woocommerce-checkout .wd-content, .woocommerce-account .wd-content { width: min(100%, 1080px); max-width: 100%; }
.woocommerce-checkout .woocommerce form .form-row .input-text { min-height: 44px; }
@media (max-width: 760px) {
    .wd-billing-grid { grid-template-columns: 1fr; }
    .woocommerce-checkout .woocommerce form .form-row-first,
    .woocommerce-checkout .woocommerce form .form-row-last { width: 100%; float: none; }
}
