.prices-calculator-section {
    padding: 90px 24px;
    background: #f7f3ef;
}

.prices-calculator-inner {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.dm-calculator {
    width: 100%;
}

.dm-card {
    overflow: hidden;
    padding: 34px;
    border: 1px solid #e5d8cf;
    border-radius: 26px;
    background: #ffffff;
    box-shadow:
        0 18px 50px rgba(55, 39, 28, 0.08);
}

.dm-title {
    max-width: 1000px;
    margin: 0 auto;
    color: #2f2924;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    text-align: center;
}

.dm-subtitle {
    max-width: 1200px;
    margin: 16px auto 34px;
    color: #756d67;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

.dm-subtitle strong,
.dm-subtitle b {
    color: #b95f38;
}

.dm-layout {
    display: grid;
    grid-template-columns:
        minmax(220px, 280px)
        minmax(420px, 1fr)
        minmax(230px, 300px);
    gap: 18px;
    align-items: stretch;
}

.dm-grid {
    display: grid;
    gap: 16px;
}

.dm-panel,
.dm-result {
    border: 1px solid #e6ddd6;
    border-radius: 18px;
    background: #fbf9f7;
}

.dm-panel {
    padding: 20px;
}

.dm-result {
    overflow-x: auto;
    padding: 16px 18px;
}

.dm-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.dm-field label,
.dm-addon-field label {
    color: #332c27;
    font-size: 13px;
    font-weight: 800;
}

.dm-field select,
.dm-picker-trigger,
.dm-business-search-wrap input {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #d9ccc3;
    border-radius: 12px;
    outline: none;
    background: #ffffff;
    color: #332c27;
    font: inherit;
}

.dm-field select:focus,
.dm-picker-trigger:focus,
.dm-business-search-wrap input:focus {
    border-color: #c76c40;
    box-shadow:
        0 0 0 4px rgba(199, 108, 64, 0.12);
}

.dm-picker-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    font-weight: 700;
    text-align: left;
}

.dm-picker-trigger:hover {
    border-color: #c76c40;
}

.dm-picker-arrow {
    color: #c76c40;
}

.dm-addon-row {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 12px;
}

.dm-addon-divider {
    background: #ded2ca;
}

.dm-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3px;
    border-radius: 999px;
    background: #ece4de;
}

.dm-toggle {
    min-height: 36px;
    padding: 6px 9px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #655c55;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.dm-toggle.is-active {
    background: #332c27;
    color: #ffffff;
    box-shadow:
        0 3px 10px rgba(55, 39, 28, 0.14);
}

.dm-toggle.is-active[data-value="yes"] {
    background: #c76c40;
}

.dm-comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.dm-comparison-table th {
    padding: 10px;
    border-bottom: 1px solid #dfd3cb;
    color: #80766f;
    font-size: 12px;
    text-align: left;
}

.dm-comparison-table th.r,
.dm-comparison-table td.r {
    text-align: right;
    white-space: nowrap;
}

.dm-comparison-table td {
    padding: 13px 10px;
    border-bottom: 1px solid #eee7e2;
    color: #514943;
    font-size: 13px;
    vertical-align: top;
}

.dm-org {
    color: #332c27;
    font-weight: 800;
}

.dm-total-row td {
    border-top: 2px solid #d8b59f;
    border-bottom: 0;
    background: #f7e9e1;
}

.dm-total-row .dm-org,
.dm-total-row td.r {
    color: #9d4e2b;
    font-weight: 900;
}

.dm-muted {
    color: #a0968f;
}

.dm-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dm-dream-panel,
.dm-save-panel {
    padding: 20px 16px;
    border-radius: 18px;
    text-align: center;
}

.dm-dream-panel {
    border: 1px solid #e0c7b7;
    background: #f8ede7;
    color: #664433;
}

.dm-dream-panel span,
.dm-dream-panel small {
    display: block;
}

.dm-dream-panel > strong {
    display: block;
    margin-top: 9px;
    color: #b95f38;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 36px;
}

.dm-dream-panel small {
    margin-top: 5px;
    color: #756d67;
    font-size: 11px;
}

.dm-save-panel {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #d7dfc9;
    background: #f2f5ec;
    color: #526139;
}

.dm-save-panel strong {
    display: block;
    margin-top: 7px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 31px;
}

.dm-save-panel .lbl,
.dm-save-panel .pct {
    font-size: 12px;
}

.dm-cta {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 13px;
    background: #c76c40;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.dm-cta:hover {
    transform: translateY(-2px);
    background: #a9542e;
}

.dm-note {
    max-width: 1020px;
    margin: 20px auto 0;
    color: #8a7465;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

.dm-business-picker {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dm-business-picker.is-open {
    display: flex;
}

.dm-business-picker-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(42, 35, 30, 0.68);
    backdrop-filter: blur(4px);
}

.dm-business-picker-panel {
    position: relative;
    display: flex;
    width: min(820px, 96vw);
    max-height: 86vh;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e1d4cb;
    border-radius: 24px;
    background: #ffffff;
    box-shadow:
        0 30px 90px rgba(35, 26, 20, 0.3);
}

.dm-business-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px;
    border-bottom: 1px solid #e5d8cf;
    background: #f6ebe4;
}

.dm-business-picker-head strong {
    color: #332c27;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 22px;
}

.dm-business-picker-close {
    padding: 0;
    border: 0;
    background: transparent;
    color: #332c27;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.dm-business-search-wrap {
    padding: 16px 20px;
    border-bottom: 1px solid #e9dfd8;
}

.dm-business-picker-groups {
    overflow-y: auto;
    padding: 16px 20px 22px;
}

.dm-business-group {
    margin-bottom: 20px;
}

.dm-business-group-title {
    margin: 0 0 10px;
    padding-left: 10px;
    border-left: 4px solid #c76c40;
    color: #7c4931;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.dm-business-options-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.dm-business-option {
    min-height: 44px;
    padding: 9px 10px;
    border: 1px solid #e2d7cf;
    border-radius: 12px;
    background: #ffffff;
    color: #514943;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.dm-business-option:hover {
    border-color: #c76c40;
    background: #fbf1eb;
}

.dm-business-option.is-selected {
    border-color: #c76c40;
    background: #f4dfd3;
    color: #9d4e2b;
}

body.dm-picker-open {
    overflow: hidden;
}

@media (max-width: 1050px) {
    .dm-layout {
        grid-template-columns:
            minmax(220px, 0.8fr)
            minmax(380px, 1.2fr);
    }

    .dm-side {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .prices-calculator-section {
        padding: 64px 16px;
    }

    .dm-card {
        padding: 20px 14px;
        border-radius: 20px;
    }

    .dm-layout {
        grid-template-columns: 1fr;
    }

    .dm-side {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .dm-addon-row {
        gap: 8px;
    }

    .dm-result {
        padding: 10px;
    }

    .dm-comparison-table th,
    .dm-comparison-table td {
        padding: 9px 6px;
        font-size: 11px;
    }

    .dm-business-picker {
        align-items: flex-start;
        padding: 10px;
    }

    .dm-business-picker-panel {
        width: 100%;
        max-height: 92vh;
        border-radius: 18px;
    }

    .dm-business-options-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 430px) {
    .dm-business-options-grid {
        grid-template-columns: 1fr;
    }
}