.calc-container { padding-top: 60px; padding-bottom: 80px; }

.calc-header {
    text-align: center;
    margin-bottom: 60px;
}

.calc-header h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.calc-header h1 span {
    color: var(--accent);
}

.calc-header p {
    font-size: 17px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: flex-start;
}

.step-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
}

.step-box h3 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.step-box select,
.step-box input[type="number"] {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-light);
    font-family: inherit;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.step-box select:focus,
.step-box input:focus {
    border-color: var(--accent);
    outline: none;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.calc-result-box {
    position: sticky;
    top: 120px;
}

.result-card {
    background: var(--primary);
    color: #fff;
    padding: 45px;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.result-card h3 {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.8;
    font-weight: 600;
}

.result-card .sum-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.result-card .sum-row span { opacity: 0.6; }
.result-card .sum-row b { color: var(--accent-soft); }

.total-price {
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-price span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

.total-price strong {
    font-size: 42px;
    font-weight: 800;
}

.result-card .btn {
    background: #fff;
    color: #000;
    width: 100%;
    text-align: center;
}

.result-card .btn:hover {
    background: var(--accent-soft);
}

.result-card .btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 1100px) {
    .calc-grid { grid-template-columns: 1fr; }
    .calc-result-box { position: static; }
}

@media (max-width: 768px) {
    .calc-header h1 { font-size: 32px; }
    .calc-header p { font-size: 15px; }
    .step-box { padding: 30px; }
    .step-box h3 { font-size: 20px; }
    .product-list { grid-template-columns: 1fr 1fr; gap: 12px; }
    .result-card { padding: 35px; border-radius: 24px; }
    .total-price strong { font-size: 36px; }
}

@media (max-width: 480px) {
    .calc-container { padding-top: 40px; }
    .step-box { padding: 24px; border-radius: 20px; }
    .step-box h3 { font-size: 18px; }
    .product-list { grid-template-columns: 1fr; }
    .result-card { padding: 28px; }
    .total-price strong { font-size: 30px; }
    .total-price { flex-direction: column; gap: 8px; align-items: flex-start; }
}



 .calc-grid-layout {
     display: grid;
     grid-template-columns: 1fr 420px;
     gap: 60px;
     align-items: flex-start;
 }
 
 .calc-steps { display: flex; flex-direction: column; gap: 30px; }
 
 .step-card {
     background: #fff;
     border: 1px solid var(--border);
     border-radius: 24px;
     padding: 40px;
 }
 
 .step-header { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
 .step-num { 
     width: 44px; height: 44px; background: var(--accent); color: #fff; 
     border-radius: 50%; display: flex; align-items: center; justify-content: center;
     font-weight: 800; font-size: 18px;
 }
 .step-header h3 { font-size: 24px; font-weight: 800; letter-spacing: -1px; }
 
 .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
 .field label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
 .field input, .field select {
     width: 100%; padding: 16px; border-radius: 12px; border: 1px solid var(--border);
     background: var(--bg-light); font-family: inherit; font-weight: 700; font-size: 16px;
 }

 .calc-product-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
     gap: 20px;
     margin-top: 10px;
 }
 
 .calc-item-card {
     background: #fff;
     border: 2px solid var(--border);
     border-radius: 20px;
     padding: 20px;
     cursor: pointer;
     transition: 0.3s;
     text-align: center;
     display: flex;
     flex-direction: column;
 }
 
 .calc-item-card:hover { border-color: var(--muted); }
 .calc-item-card.active { border-color: var(--accent); background: var(--accent-soft); }
 
 .calc-item-img { height: 120px; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; }
 .calc-item-img img { max-height: 100%; mix-blend-mode: multiply; }
 
 .calc-item-info b { display: block; font-size: 14px; margin-bottom: 5px; line-height: 1.2; flex-grow: 1; }
 .calc-item-info span { font-size: 13px; color: var(--accent); font-weight: 800; }
 
 .calc-sidebar { position: sticky; top: 120px; }
 
 .summary-card {
     background: var(--primary);
     color: #fff;
     padding: 45px;
     border-radius: 32px;
     box-shadow: 0 30px 60px rgba(0,0,0,0.1);
 }
 
 .summary-card h4 { font-size: 20px; margin-bottom: 30px; opacity: 0.8; font-weight: 600; }
 
 .summary-details { margin-bottom: 40px; }
 .sum-row { 
     display: flex; justify-content: space-between; font-size: 15px; 
     padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
 }
 .sum-row span { opacity: 0.6; }
 .sum-row b { color: var(--accent-soft); }
 
 .summary-total { margin-bottom: 40px; }
 .summary-total span { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.5; }
 .summary-total h2 { font-size: 48px; font-weight: 800; margin-top: 5px; }
 
 .btn-white { background: #fff; color: #000; font-size: 16px; font-weight: 800; border: none; width: 100%; padding: 18px; border-radius: 14px; cursor: pointer; }
 .btn-white:hover { background: var(--accent-soft); }
 .btn-white:disabled { opacity: 0.3; cursor: not-allowed; }
 
 .calc-guarantee { margin-top: 30px; font-size: 12px; color: rgba(255,255,255,0.4); text-align: center; }
 
 @media (max-width: 1100px) {
     .calc-grid-layout { grid-template-columns: 1fr; }
     .calc-sidebar { position: static; }
 }
 
 @media (max-width: 768px) {
     .step-card { padding: 30px; }
     .step-header h3 { font-size: 20px; }
     .step-num { width: 38px; height: 38px; font-size: 16px; }
     
     .field-row { grid-template-columns: 1fr; gap: 20px; }
     
     .calc-product-grid { 
         grid-template-columns: 1fr 1fr; 
         gap: 15px;
     }
     
     .calc-item-card { padding: 16px; }
     .calc-item-img { height: 100px; }
     .calc-item-info b { font-size: 13px; }
     
     .summary-card { padding: 35px; border-radius: 24px; }
     .summary-card h4 { font-size: 18px; margin-bottom: 25px; }
     .summary-total h2 { font-size: 40px; }
 }
 
 @media (max-width: 480px) {
     .step-card { 
         padding: 24px; 
         border-radius: 20px;
     }
     .step-header { 
         flex-direction: column; 
         align-items: flex-start; 
         gap: 12px;
     }
     .step-header h3 { font-size: 18px; }
     
     .calc-product-grid { grid-template-columns: 1fr; }
     
     .calc-item-card { 
         flex-direction: row; 
         text-align: left;
         gap: 16px;
     }
     .calc-item-img { 
         height: 80px; 
         width: 80px;
         flex-shrink: 0;
         margin-bottom: 0;
     }
     .calc-item-info { 
         display: flex; 
         flex-direction: column; 
         justify-content: center;
     }
     
     .summary-card { padding: 28px; }
     .summary-total h2 { font-size: 34px; }
     
     .sum-row { 
         flex-direction: column; 
         gap: 4px;
         padding: 10px 0;
     }
 }
