.dec-store-estimator {
    max-width: 860px;
    margin: 24px auto;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    color: #111827;
}

.dec-estimator-header h2,
.dec-store-estimator h3,
.dec-store-estimator h4 {
    margin-top: 0;
}

.dec-estimator-header p {
    margin-bottom: 20px;
    color: #4b5563;
}

.dec-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.dec-choice-card {
    display: block;
    padding: 18px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.2s ease;
    background: #f9fafb;
}

.dec-choice-card:hover,
.dec-choice-card:has(input:checked) {
    border-color: #111827;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.dec-choice-card input {
    margin-right: 8px;
}

.dec-choice-card span {
    display: inline-block;
    font-weight: 700;
}

.dec-choice-card small {
    display: block;
    margin-top: 8px;
    color: #6b7280;
}

.dec-form {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f9fafb;
}

.dec-field-row {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
}

.dec-field-row label {
    font-weight: 600;
}

.dec-store-estimator input,
.dec-store-estimator select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
}

.dec-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.dec-opening-card {
    padding: 14px;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
}

.dec-input-with-unit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dec-input-with-unit input {
    flex: 1;
}

.dec-input-with-unit span {
    font-weight: 700;
}

.dec-info-box {
    padding: 12px 14px;
    margin: 8px 0 16px;
    border-radius: 12px;
    background: #eef2ff;
}

.dec-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    background: #111827;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.dec-button:hover {
    opacity: 0.92;
}

.dec-result {
    margin-top: 18px;
    padding: 18px;
    border-radius: 14px;
}

.dec-result-success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
}

.dec-result-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.dec-result ul {
    margin-left: 18px;
}

.dec-total {
    font-size: 1.2rem;
}

@media (max-width: 720px) {
    .dec-store-estimator {
        padding: 18px;
    }

    .dec-choice-grid,
    .dec-grid-3 {
        grid-template-columns: 1fr;
    }
}
