/* ── ÖSSZESÍTŐ KÁRTYÁK (felső sor) ───────────────────────────── */
.summary-grid {
    display:               grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap:                   20px;
    margin-bottom:         36px;
}

.summary-card {
    background:    white;
    border-radius: var(--radius);
    padding:       28px 22px;
    text-align:    center;
    border:        1px solid var(--gray-light);
    box-shadow:    var(--shadow-sm);
    transition:    var(--transition);
}

.summary-card:hover {
    transform:  translateY(-3px);
    box-shadow: var(--shadow);
}

.summary-card--highlight {
    background:   linear-gradient(135deg, var(--be-navy) 0%, #1a3a6a 100%);
    border-color: var(--be-navy);
    color:        white;
}

.summary-icon {
    width:         64px;
    height:        64px;
    border-radius: 50%;
    background:    var(--light);
    display:       flex;
    align-items:   center;
    justify-content: center;
    margin:        0 auto 20px;
    font-size:     26px;
    color:         var(--primary);
    box-shadow:    var(--shadow-sm);
}

.summary-card--highlight .summary-icon {
    background: rgba(255,255,255,0.15);
    color:      white;
}

.summary-value {
    font-size:   32px;
    font-weight: 800;
    color:       var(--dark);
    margin-bottom: 8px;
    line-height: 1;
    font-family: var(--font-main);
}

.summary-card--highlight .summary-value { color: var(--be-gold); }

.summary-label {
    font-size:   14px;
    color:       var(--gray);
    font-weight: 600;
}

.summary-card--highlight .summary-label { color: rgba(255,255,255,0.7); }

/* ── BONTÁS TÁBLÁZAT ──────────────────────────────────────────── */
.breakdown {
    background:    white;
    border-radius: var(--radius);
    padding:       28px 32px;
    margin-bottom: 32px;
    border:        1px solid var(--gray-light);
    box-shadow:    var(--shadow-sm);
}

.breakdown-item {
    display:         flex;
    justify-content: space-between;
    align-items:     center;
    padding:         18px 0;
    border-bottom:   1px solid var(--gray-light);
    gap:             16px;
}

.breakdown-item:last-child { border-bottom: none; }

.breakdown-item-total {
    border-top:    3px solid var(--be-navy);
    margin-top:    16px;
    padding-top:   24px !important;
    border-bottom: none !important;
}

.breakdown-label {
    font-weight: 600;
    color:       var(--dark);
    font-size:   16px;
}

.breakdown-item-total .breakdown-label {
    font-size:   20px;
    color:       var(--be-navy);
}

.breakdown-note {
    font-size:  13px;
    color:      var(--gray);
    margin-top: 3px;
}

.breakdown-value {
    font-weight: 700;
    color:       var(--dark);
    font-size:   17px;
    white-space: nowrap;
}

.breakdown-item-total .breakdown-value {
    font-size: 26px;
    color:     var(--be-red);
}

/* ── RÉSZLETES SPECIFIKÁCIÓ ───────────────────────────────────── */
.details-section {
    background:    white;
    border-radius: var(--radius);
    padding:       28px 32px;
    margin-top:    32px;
    border:        1px solid var(--gray-light);
    box-shadow:    var(--shadow-sm);
}

.details-title {
    font-size:     18px;
    font-weight:   700;
    color:         var(--be-navy);
    margin-bottom: 20px;
    display:       flex;
    align-items:   center;
    gap:           10px;
}

.spec-room {
    margin-bottom: 16px;
    border:        1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    overflow:      hidden;
}

.spec-room-header {
    display:         flex;
    justify-content: space-between;
    align-items:     center;
    padding:         12px 16px;
    background:      var(--light);
    font-weight:     700;
    font-size:       15px;
    color:           var(--be-navy);
    border-bottom:   1px solid var(--gray-light);
}

.spec-row {
    display:         flex;
    justify-content: space-between;
    align-items:     center;
    padding:         10px 16px;
    font-size:       14px;
    color:           var(--dark);
    border-bottom:   1px solid var(--gray-light);
}

.spec-row:last-child { border-bottom: none; }

/* ── IDŐBECSLÉS ───────────────────────────────────────────────── */
.timeline-detail-grid {
    display:               grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap:                   12px;
    background:            white;
    padding:               20px;
    border-radius:         var(--radius-sm);
    margin-top:            12px;
    font-size:             14px;
    color:                 var(--dark);
}

.timeline-total {
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top:  1px solid var(--gray-light);
    font-size:   16px;
}

/* ── MOBILBARÁT ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .summary-grid  { grid-template-columns: repeat(2, 1fr); }
    .breakdown     { padding: 20px 18px; }
    .details-section { padding: 20px 16px; }
    .breakdown-item-total .breakdown-value { font-size: 22px; }
}

@media (max-width: 480px) {
    .summary-grid { grid-template-columns: 1fr 1fr; }
    .summary-value { font-size: 24px; }
}
