/* Kalkulačka hrubej stavby domu */

.shell-calc-page .dom-cost-page__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1100px) {
    .shell-calc-page .dom-cost-page__body {
        grid-template-columns: minmax(0, 1fr) 280px;
        align-items: start;
    }

    .shell-calc-sidebar {
        position: sticky;
        top: 5.5rem;
    }
}

.shell-calc-result__range {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.shell-calc-result__details {
    margin: 0 0 1rem;
    padding: 0;
}

.shell-calc-result__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.875rem;
}

.shell-calc-result__row:last-child {
    border-bottom: none;
}

.shell-calc-result__row dt {
    margin: 0;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
}

.shell-calc-result__row dd {
    margin: 0;
    font-weight: 700;
    color: #fff;
    text-align: right;
}

.shell-calc-result__row--total {
    margin-top: 0.35rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom: none;
    font-size: 0.9375rem;
}

.shell-calc-result__material {
    margin: 0 0 0.85rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
}

.shell-calc-scope__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .shell-calc-scope__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.shell-calc-scope__card {
    border-radius: 18px;
    padding: 1.35rem 1.4rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 32px rgba(15, 23, 42, 0.06);
}

.shell-calc-scope__card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #0f172a;
}

.shell-calc-scope__card--included {
    border: 1px solid rgba(37, 99, 235, 0.14);
}

.shell-calc-scope__card--excluded {
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.shell-calc-scope__excluded-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.shell-calc-scope__excluded-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #475569;
}

.shell-calc-scope__excluded-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: #94a3b8;
    font-weight: 700;
}

.shell-calc-materials {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.shell-calc-material {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 28px rgba(15, 23, 42, 0.05);
}

@media (min-width: 768px) {
    .shell-calc-material {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 0.85fr);
        padding: 1.5rem;
    }

    .shell-calc-material--reverse .shell-calc-material__copy {
        order: 2;
    }

    .shell-calc-material--reverse .shell-calc-material__media {
        order: 1;
    }
}

.shell-calc-material h3 {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.shell-calc-material p {
    margin: 0 0 0.65rem;
    line-height: 1.65;
    color: #475569;
}

.shell-calc-material__price {
    margin-bottom: 0 !important;
    font-size: 0.9375rem;
    color: #1e293b !important;
}

.shell-calc-material__media {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
}

.shell-calc-material__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shell-calc-disclaimer {
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid rgba(37, 99, 235, 0.16);
}

.shell-calc-disclaimer h2 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.shell-calc-disclaimer__value {
    margin: 0 0 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary-blue-dark, #1d4ed8);
}

.shell-calc-disclaimer p:last-child {
    margin: 0;
    line-height: 1.65;
    color: #475569;
}
